home *** CD-ROM | disk | FTP | other *** search
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: PKZip Archive
(archive/zip ).
Confidence Program Detection Match Type Support
100%
dexvert
PKZip Archive (archive/zip)
magic
Supported
66%
dexvert
JAR Archive (archive/jar)
ext
Supported
100%
file
Zip archive data, made by v2.3 UNIX, extract using at least v1.0, last modified, last modified Sun, Oct 22 2000 20:39:08, uncompressed size 853, method=store
default
99%
file
Zip archive, with extra data prepended
default (weak)
98%
file
data
default
63%
TrID
Mozilla Archive Format (gen)
default (weak)
36%
TrID
ZIP compressed archive
default
100%
dexmagic
PrintFox/Pagefox WEAK
default
100%
dearkID
deark: zip (ZIP)
default
100%
siegfried
x-fmt/263 ZIP Format
default
100%
lsar
Zip
default
100%
gt2
ZIP Archiv gefunden (Auflistung ist deaktiviert)
default
100%
binwalkID
Zip archive data, at least v1.0 to extract, compressed size: 853, uncompressed size: 853, name: content/cview/contents.rdf
default
100%
xdgMime
application/zip
default
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 50 4b 03 04 0a 00 00 00 | 00 00 e4 a4 56 29 f3 22 |PK......|....V)."| |00000010| 7f df 55 03 00 00 55 03 | 00 00 1a 00 00 00 63 6f |..U...U.|......co| |00000020| 6e 74 65 6e 74 2f 63 76 | 69 65 77 2f 63 6f 6e 74 |ntent/cv|iew/cont| |00000030| 65 6e 74 73 2e 72 64 66 | 3c 3f 78 6d 6c 20 76 65 |ents.rdf|<?xml ve| |00000040| 72 73 69 6f 6e 3d 22 31 | 2e 30 22 3f 3e 0a 3c 52 |rsion="1|.0"?>.<R| |00000050| 44 46 3a 52 44 46 20 78 | 6d 6c 6e 73 3a 52 44 46 |DF:RDF x|mlns:RDF| |00000060| 3d 22 68 74 74 70 3a 2f | 2f 77 77 77 2e 77 33 2e |="http:/|/www.w3.| |00000070| 6f 72 67 2f 31 39 39 39 | 2f 30 32 2f 32 32 2d 72 |org/1999|/02/22-r| |00000080| 64 66 2d 73 79 6e 74 61 | 78 2d 6e 73 23 22 0a 20 |df-synta|x-ns#". | |00000090| 20 20 20 20 20 20 20 20 | 78 6d 6c 6e 73 3a 63 68 | |xmlns:ch| |000000a0| 72 6f 6d 65 3d 22 68 74 | 74 70 3a 2f 2f 77 77 77 |rome="ht|tp://www| |000000b0| 2e 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 72 64 66 |.mozilla|.org/rdf| |000000c0| 2f 63 68 72 6f 6d 65 23 | 22 3e 0a 0a 20 20 3c 21 |/chrome#|">.. <!| |000000d0| 2d 2d 20 6c 69 73 74 20 | 61 6c 6c 20 74 68 65 20 |-- list |all the | |000000e0| 70 61 63 6b 61 67 65 73 | 20 62 65 69 6e 67 20 73 |packages| being s| |000000f0| 75 70 70 6c 69 65 64 20 | 62 79 20 74 68 69 73 20 |upplied |by this | |00000100| 6a 61 72 20 2d 2d 3e 0a | 20 20 3c 52 44 46 3a 53 |jar -->.| <RDF:S| |00000110| 65 71 20 61 62 6f 75 74 | 3d 22 75 72 6e 3a 6d 6f |eq about|="urn:mo| |00000120| 7a 69 6c 6c 61 3a 70 61 | 63 6b 61 67 65 3a 72 6f |zilla:pa|ckage:ro| |00000130| 6f 74 22 3e 0a 20 20 20 | 20 3c 52 44 46 3a 6c 69 |ot">. | <RDF:li| |00000140| 20 72 65 73 6f 75 72 63 | 65 3d 22 75 72 6e 3a 6d | resourc|e="urn:m| |00000150| 6f 7a 69 6c 6c 61 3a 70 | 61 63 6b 61 67 65 3a 63 |ozilla:p|ackage:c| |00000160| 76 69 65 77 22 2f 3e 0a | 20 20 3c 2f 52 44 46 3a |view"/>.| </RDF:| |00000170| 53 65 71 3e 0a 0a 20 20 | 3c 21 2d 2d 20 70 61 63 |Seq>.. |<!-- pac| |00000180| 6b 61 67 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |kage inf|ormation| |00000190| 20 2d 2d 3e 0a 20 20 3c | 52 44 46 3a 44 65 73 63 | -->. <|RDF:Desc| |000001a0| 72 69 70 74 69 6f 6e 20 | 61 62 6f 75 74 3d 22 75 |ription |about="u| |000001b0| 72 6e 3a 6d 6f 7a 69 6c | 6c 61 3a 70 61 63 6b 61 |rn:mozil|la:packa| |000001c0| 67 65 3a 63 76 69 65 77 | 22 0a 20 20 20 20 20 20 |ge:cview|". | |000001d0| 20 20 63 68 72 6f 6d 65 | 3a 64 69 73 70 6c 61 79 | chrome|:display| |000001e0| 4e 61 6d 65 3d 22 43 6f | 6d 70 6f 6e 65 6e 74 20 |Name="Co|mponent | |000001f0| 56 69 65 77 65 72 20 28 | 63 76 69 65 77 29 22 0a |Viewer (|cview)".| |00000200| 20 20 20 20 20 20 20 20 | 63 68 72 6f 6d 65 3a 61 | |chrome:a| |00000210| 75 74 68 6f 72 3d 22 6d | 6f 7a 69 6c 6c 61 2e 6f |uthor="m|ozilla.o| |00000220| 72 67 22 0a 20 20 20 20 | 20 20 20 20 63 68 72 6f |rg". | chro| |00000230| 6d 65 3a 6e 61 6d 65 3d | 22 63 76 69 65 77 22 3e |me:name=|"cview">| |00000240| 0a 20 20 3c 2f 52 44 46 | 3a 44 65 73 63 72 69 70 |. </RDF|:Descrip| |00000250| 74 69 6f 6e 3e 0a 0a 20 | 20 3c 21 2d 2d 20 6f 76 |tion>.. | <!-- ov| |00000260| 65 72 6c 61 79 20 69 6e | 66 6f 72 6d 61 74 69 6f |erlay in|formatio| |00000270| 6e 20 2d 2d 3e 0a 20 20 | 3c 52 44 46 3a 53 65 71 |n -->. |<RDF:Seq| |00000280| 20 61 62 6f 75 74 3d 22 | 75 72 6e 3a 6d 6f 7a 69 | about="|urn:mozi| |00000290| 6c 6c 61 3a 6f 76 65 72 | 6c 61 79 73 22 3e 0a 20 |lla:over|lays">. | |000002a0| 20 20 20 3c 52 44 46 3a | 6c 69 20 72 65 73 6f 75 | <RDF:|li resou| |000002b0| 72 63 65 3d 22 63 68 72 | 6f 6d 65 3a 2f 2f 63 6f |rce="chr|ome://co| |000002c0| 6d 6d 75 6e 69 63 61 74 | 6f 72 2f 63 6f 6e 74 65 |mmunicat|or/conte| |000002d0| 6e 74 2f 74 61 73 6b 73 | 4f 76 65 72 6c 61 79 2e |nt/tasks|Overlay.| |000002e0| 78 75 6c 22 2f 3e 0a 20 | 20 3c 2f 52 44 46 3a 53 |xul"/>. | </RDF:S| |000002f0| 65 71 3e 0a 0a 20 20 3c | 52 44 46 3a 53 65 71 20 |eq>.. <|RDF:Seq | |00000300| 61 62 6f 75 74 3d 22 63 | 68 72 6f 6d 65 3a 2f 2f |about="c|hrome://| |00000310| 63 6f 6d 6d 75 6e 69 63 | 61 74 6f 72 2f 63 6f 6e |communic|ator/con| |00000320| 74 65 6e 74 2f 74 61 73 | 6b 73 4f 76 65 72 6c 61 |tent/tas|ksOverla| |00000330| 79 2e 78 75 6c 22 3e 0a | 20 20 20 20 3c 52 44 46 |y.xul">.| <RDF| |00000340| 3a 6c 69 3e 63 68 72 6f | 6d 65 3a 2f 2f 63 76 69 |:li>chro|me://cvi| |00000350| 65 77 2f 63 6f 6e 74 65 | 6e 74 2f 63 76 69 65 77 |ew/conte|nt/cview| |00000360| 4f 76 65 72 6c 61 79 2e | 78 75 6c 3c 2f 52 44 46 |Overlay.|xul</RDF| |00000370| 3a 6c 69 3e 0a 20 20 3c | 2f 52 44 46 3a 53 65 71 |:li>. <|/RDF:Seq| |00000380| 3e 0a 3c 2f 52 44 46 3a | 52 44 46 3e 0a 50 4b 03 |>.</RDF:|RDF>.PK.| |00000390| 04 0a 00 00 00 00 00 e6 | a4 56 29 1f 47 f9 3a 11 |........|.V).G.:.| |000003a0| 03 00 00 11 03 00 00 1f | 00 00 00 6c 6f 63 61 6c |........|...local| |000003b0| 65 2f 65 6e 2d 55 53 2f | 63 76 69 65 77 2f 63 6f |e/en-US/|cview/co| |000003c0| 6e 74 65 6e 74 73 2e 72 | 64 66 3c 3f 78 6d 6c 20 |ntents.r|df<?xml | |000003d0| 76 65 72 73 69 6f 6e 3d | 22 31 2e 30 22 3f 3e 0a |version=|"1.0"?>.| |000003e0| 3c 52 44 46 3a 52 44 46 | 20 78 6d 6c 6e 73 3a 52 |<RDF:RDF| xmlns:R| |000003f0| 44 46 3d 22 68 74 74 70 | 3a 2f 2f 77 77 77 2e 77 |DF="http|://www.w| |00000400| 33 2e 6f 72 67 2f 31 39 | 39 39 2f 30 32 2f 32 32 |3.org/19|99/02/22| |00000410| 2d 72 64 66 2d 73 79 6e | 74 61 78 2d 6e 73 23 22 |-rdf-syn|tax-ns#"| |00000420| 0a 20 20 20 20 20 20 20 | 20 20 78 6d 6c 6e 73 3a |. | xmlns:| |00000430| 63 68 72 6f 6d 65 3d 22 | 68 74 74 70 3a 2f 2f 77 |chrome="|http://w| |00000440| 77 77 2e 6d 6f 7a 69 6c | 6c 61 2e 6f 72 67 2f 72 |ww.mozil|la.org/r| |00000450| 64 66 2f 63 68 72 6f 6d | 65 23 22 3e 0a 0a 20 20 |df/chrom|e#">.. | |00000460| 3c 21 2d 2d 20 6c 69 73 | 74 20 61 6c 6c 20 74 68 |<!-- lis|t all th| |00000470| 65 20 70 61 63 6b 61 67 | 65 73 20 62 65 69 6e 67 |e packag|es being| |00000480| 20 73 75 70 70 6c 69 65 | 64 20 62 79 20 74 68 69 | supplie|d by thi| |00000490| 73 20 6a 61 72 20 2d 2d | 3e 0a 20 20 3c 52 44 46 |s jar --|>. <RDF| |000004a0| 3a 53 65 71 20 61 62 6f | 75 74 3d 22 75 72 6e 3a |:Seq abo|ut="urn:| |000004b0| 6d 6f 7a 69 6c 6c 61 3a | 6c 6f 63 61 6c 65 3a 72 |mozilla:|locale:r| |000004c0| 6f 6f 74 22 3e 0a 20 20 | 20 20 3c 52 44 46 3a 6c |oot">. | <RDF:l| |000004d0| 69 20 72 65 73 6f 75 72 | 63 65 3d 22 75 72 6e 3a |i resour|ce="urn:| |000004e0| 6d 6f 7a 69 6c 6c 61 3a | 6c 6f 63 61 6c 65 3a 65 |mozilla:|locale:e| |000004f0| 6e 2d 55 53 22 2f 3e 0a | 20 20 3c 2f 52 44 46 3a |n-US"/>.| </RDF:| |00000500| 53 65 71 3e 0a 0a 20 20 | 3c 21 2d 2d 20 6c 6f 63 |Seq>.. |<!-- loc| |00000510| 61 6c 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ale info|rmation | |00000520| 2d 2d 3e 0a 20 20 3c 52 | 44 46 3a 44 65 73 63 72 |-->. <R|DF:Descr| |00000530| 69 70 74 69 6f 6e 20 61 | 62 6f 75 74 3d 22 75 72 |iption a|bout="ur| |00000540| 6e 3a 6d 6f 7a 69 6c 6c | 61 3a 6c 6f 63 61 6c 65 |n:mozill|a:locale| |00000550| 3a 65 6e 2d 55 53 22 0a | 20 20 20 20 20 20 20 20 |:en-US".| | |00000560| 63 68 72 6f 6d 65 3a 64 | 69 73 70 6c 61 79 4e 61 |chrome:d|isplayNa| |00000570| 6d 65 3d 22 45 6e 67 6c | 69 73 68 28 55 53 29 22 |me="Engl|ish(US)"| |00000580| 0a 20 20 20 20 20 20 20 | 20 63 68 72 6f 6d 65 3a |. | chrome:| |00000590| 61 75 74 68 6f 72 3d 22 | 6d 6f 7a 69 6c 6c 61 2e |author="|mozilla.| |000005a0| 6f 72 67 22 0a 20 20 20 | 20 20 20 20 20 63 68 72 |org". | chr| |000005b0| 6f 6d 65 3a 6e 61 6d 65 | 3d 22 65 6e 2d 55 53 22 |ome:name|="en-US"| |000005c0| 0a 20 20 20 20 20 20 20 | 20 63 68 72 6f 6d 65 3a |. | chrome:| |000005d0| 70 72 65 76 69 65 77 55 | 52 4c 3d 22 68 74 74 70 |previewU|RL="http| |000005e0| 3a 2f 2f 77 77 77 2e 6d | 6f 7a 69 6c 6c 61 2e 6f |://www.m|ozilla.o| |000005f0| 72 67 2f 6c 6f 63 61 6c | 65 73 2f 65 6e 2d 55 53 |rg/local|es/en-US| |00000600| 2e 67 69 66 22 3e 0a 20 | 20 20 20 3c 63 68 72 6f |.gif">. | <chro| |00000610| 6d 65 3a 70 61 63 6b 61 | 67 65 73 3e 0a 20 20 20 |me:packa|ges>. | |00000620| 20 20 20 3c 52 44 46 3a | 53 65 71 20 61 62 6f 75 | <RDF:|Seq abou| |00000630| 74 3d 22 75 72 6e 3a 6d | 6f 7a 69 6c 6c 61 3a 6c |t="urn:m|ozilla:l| |00000640| 6f 63 61 6c 65 3a 65 6e | 2d 55 53 3a 70 61 63 6b |ocale:en|-US:pack| |00000650| 61 67 65 73 22 3e 0a 20 | 20 20 20 20 20 20 20 3c |ages">. | <| |00000660| 52 44 46 3a 6c 69 20 72 | 65 73 6f 75 72 63 65 3d |RDF:li r|esource=| |00000670| 22 75 72 6e 3a 6d 6f 7a | 69 6c 6c 61 3a 6c 6f 63 |"urn:moz|illa:loc| |00000680| 61 6c 65 3a 65 6e 2d 55 | 53 3a 63 76 69 65 77 22 |ale:en-U|S:cview"| |00000690| 2f 3e 0a 20 20 20 20 20 | 20 3c 2f 52 44 46 3a 53 |/>. | </RDF:S| |000006a0| 65 71 3e 0a 20 20 20 20 | 3c 2f 63 68 72 6f 6d 65 |eq>. |</chrome| |000006b0| 3a 70 61 63 6b 61 67 65 | 73 3e 0a 20 20 3c 2f 52 |:package|s>. </R| |000006c0| 44 46 3a 44 65 73 63 72 | 69 70 74 69 6f 6e 3e 0a |DF:Descr|iption>.| |000006d0| 3c 2f 52 44 46 3a 52 44 | 46 3e 0a 50 4b 03 04 0a |</RDF:RD|F>.PK...| |000006e0| 00 00 00 00 00 ea a4 56 | 29 cd ce da 1b d5 02 00 |.......V|).......| |000006f0| 00 d5 02 00 00 1e 00 00 | 00 73 6b 69 6e 2f 6d 6f |........|.skin/mo| |00000700| 64 65 72 6e 2f 63 76 69 | 65 77 2f 63 6f 6e 74 65 |dern/cvi|ew/conte| |00000710| 6e 74 73 2e 72 64 66 3c | 3f 78 6d 6c 20 76 65 72 |nts.rdf<|?xml ver| |00000720| 73 69 6f 6e 3d 22 31 2e | 30 22 3f 3e 0a 3c 52 44 |sion="1.|0"?>.<RD| |00000730| 46 3a 52 44 46 20 78 6d | 6c 6e 73 3a 52 44 46 3d |F:RDF xm|lns:RDF=| |00000740| 22 68 74 74 70 3a 2f 2f | 77 77 77 2e 77 33 2e 6f |"http://|www.w3.o| |00000750| 72 67 2f 31 39 39 39 2f | 30 32 2f 32 32 2d 72 64 |rg/1999/|02/22-rd| |00000760| 66 2d 73 79 6e 74 61 78 | 2d 6e 73 23 22 0a 20 20 |f-syntax|-ns#". | |00000770| 20 20 20 20 20 20 20 78 | 6d 6c 6e 73 3a 63 68 72 | x|mlns:chr| |00000780| 6f 6d 65 3d 22 68 74 74 | 70 3a 2f 2f 77 77 77 2e |ome="htt|p://www.| |00000790| 6d 6f 7a 69 6c 6c 61 2e | 6f 72 67 2f 72 64 66 2f |mozilla.|org/rdf/| |000007a0| 63 68 72 6f 6d 65 23 22 | 3e 0a 0a 20 20 3c 21 2d |chrome#"|>.. <!-| |000007b0| 2d 20 6c 69 73 74 20 61 | 6c 6c 20 74 68 65 20 70 |- list a|ll the p| |000007c0| 61 63 6b 61 67 65 73 20 | 62 65 69 6e 67 20 73 75 |ackages |being su| |000007d0| 70 70 6c 69 65 64 20 62 | 79 20 74 68 69 73 20 6a |pplied b|y this j| |000007e0| 61 72 20 2d 2d 3e 0a 20 | 20 3c 52 44 46 3a 53 65 |ar -->. | <RDF:Se| |000007f0| 71 20 61 62 6f 75 74 3d | 22 75 72 6e 3a 6d 6f 7a |q about=|"urn:moz| |00000800| 69 6c 6c 61 3a 73 6b 69 | 6e 3a 72 6f 6f 74 22 3e |illa:ski|n:root">| |00000810| 0a 20 20 20 20 3c 52 44 | 46 3a 6c 69 20 72 65 73 |. <RD|F:li res| |00000820| 6f 75 72 63 65 3d 22 75 | 72 6e 3a 6d 6f 7a 69 6c |ource="u|rn:mozil| |00000830| 6c 61 3a 73 6b 69 6e 3a | 6d 6f 64 65 72 6e 2f 31 |la:skin:|modern/1| |00000840| 2e 30 22 20 2f 3e 0a 20 | 20 3c 2f 52 44 46 3a 53 |.0" />. | </RDF:S| |00000850| 65 71 3e 0a 0a 20 20 3c | 21 2d 2d 20 73 6b 69 6e |eq>.. <|!-- skin| |00000860| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 2d 2d 3e | informa|tion -->| |00000870| 0a 20 20 3c 52 44 46 3a | 44 65 73 63 72 69 70 74 |. <RDF:|Descript| |00000880| 69 6f 6e 20 61 62 6f 75 | 74 3d 22 75 72 6e 3a 6d |ion abou|t="urn:m| |00000890| 6f 7a 69 6c 6c 61 3a 73 | 6b 69 6e 3a 6d 6f 64 65 |ozilla:s|kin:mode| |000008a0| 72 6e 2f 31 2e 30 22 0a | 20 20 20 20 20 20 20 20 |rn/1.0".| | |000008b0| 63 68 72 6f 6d 65 3a 64 | 69 73 70 6c 61 79 4e 61 |chrome:d|isplayNa| |000008c0| 6d 65 3d 22 4d 6f 64 65 | 72 6e 22 0a 20 20 20 20 |me="Mode|rn". | |000008d0| 20 20 20 20 63 68 72 6f | 6d 65 3a 61 75 74 68 6f | chro|me:autho| |000008e0| 72 3d 22 6d 6f 7a 69 6c | 6c 61 2e 6f 72 67 22 0a |r="mozil|la.org".| |000008f0| 20 20 20 20 20 20 20 20 | 63 68 72 6f 6d 65 3a 6e | |chrome:n| |00000900| 61 6d 65 3d 22 6d 6f 64 | 65 72 6e 2f 31 2e 30 22 |ame="mod|ern/1.0"| |00000910| 3e 0a 20 20 20 20 3c 63 | 68 72 6f 6d 65 3a 70 61 |>. <c|hrome:pa| |00000920| 63 6b 61 67 65 73 3e 0a | 20 20 20 20 20 20 3c 52 |ckages>.| <R| |00000930| 44 46 3a 53 65 71 20 61 | 62 6f 75 74 3d 22 75 72 |DF:Seq a|bout="ur| |00000940| 6e 3a 6d 6f 7a 69 6c 6c | 61 3a 73 6b 69 6e 3a 6d |n:mozill|a:skin:m| |00000950| 6f 64 65 72 6e 2f 31 2e | 30 3a 70 61 63 6b 61 67 |odern/1.|0:packag| |00000960| 65 73 22 3e 0a 20 20 20 | 20 20 20 20 20 3c 52 44 |es">. | <RD| |00000970| 46 3a 6c 69 20 72 65 73 | 6f 75 72 63 65 3d 22 75 |F:li res|ource="u| |00000980| 72 6e 3a 6d 6f 7a 69 6c | 6c 61 3a 73 6b 69 6e 3a |rn:mozil|la:skin:| |00000990| 6d 6f 64 65 72 6e 2f 31 | 2e 30 3a 63 76 69 65 77 |modern/1|.0:cview| |000009a0| 22 2f 3e 0a 20 20 20 20 | 20 20 3c 2f 52 44 46 3a |"/>. | </RDF:| |000009b0| 53 65 71 3e 0a 20 20 20 | 20 3c 2f 63 68 72 6f 6d |Seq>. | </chrom| |000009c0| 65 3a 70 61 63 6b 61 67 | 65 73 3e 0a 20 20 3c 2f |e:packag|es>. </| |000009d0| 52 44 46 3a 44 65 73 63 | 72 69 70 74 69 6f 6e 3e |RDF:Desc|ription>| |000009e0| 0a 3c 2f 52 44 46 3a 52 | 44 46 3e 0a 50 4b 03 04 |.</RDF:R|DF>.PK..| |000009f0| 0a 00 00 00 00 00 33 93 | fd 30 68 47 f5 43 60 1b |......3.|.0hG.C`.| |00000a00| 00 00 60 1b 00 00 17 00 | 00 00 63 6f 6e 74 65 6e |..`.....|..conten| |00000a10| 74 2f 63 76 69 65 77 2f | 63 76 69 65 77 2e 78 75 |t/cview/|cview.xu| |00000a20| 6c 3c 3f 78 6d 6c 20 76 | 65 72 73 69 6f 6e 3d 22 |l<?xml v|ersion="| |00000a30| 31 2e 30 22 3f 3e 0a 0a | 3c 21 2d 2d 20 2a 2a 2a |1.0"?>..|<!-- ***| |00000a40| 2a 2a 20 42 45 47 49 4e | 20 4c 49 43 45 4e 53 45 |** BEGIN| LICENSE| |00000a50| 20 42 4c 4f 43 4b 20 2a | 2a 2a 2a 2a 0a 20 56 65 | BLOCK *|****. Ve| |00000a60| 72 73 69 6f 6e 3a 20 4d | 50 4c 20 31 2e 31 2f 47 |rsion: M|PL 1.1/G| |00000a70| 50 4c 20 32 2e 30 2f 4c | 47 50 4c 20 32 2e 31 0a |PL 2.0/L|GPL 2.1.| |00000a80| 0a 20 54 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |. The co|ntents o| |00000a90| 66 20 74 68 69 73 20 66 | 69 6c 65 20 61 72 65 20 |f this f|ile are | |00000aa0| 73 75 62 6a 65 63 74 20 | 74 6f 20 74 68 65 20 4d |subject |to the M| |00000ab0| 6f 7a 69 6c 6c 61 20 50 | 75 62 6c 69 63 20 4c 69 |ozilla P|ublic Li| |00000ac0| 63 65 6e 73 65 20 56 65 | 72 73 69 6f 6e 0a 20 31 |cense Ve|rsion. 1| |00000ad0| 2e 31 20 28 74 68 65 20 | 22 4c 69 63 65 6e 73 65 |.1 (the |"License| |00000ae0| 22 29 3b 20 79 6f 75 20 | 6d 61 79 20 6e 6f 74 20 |"); you |may not | |00000af0| 75 73 65 20 74 68 69 73 | 20 66 69 6c 65 20 65 78 |use this| file ex| |00000b00| 63 65 70 74 20 69 6e 20 | 63 6f 6d 70 6c 69 61 6e |cept in |complian| |00000b10| 63 65 20 77 69 74 68 0a | 20 74 68 65 20 4c 69 63 |ce with.| the Lic| |00000b20| 65 6e 73 65 2e 20 59 6f | 75 20 6d 61 79 20 6f 62 |ense. Yo|u may ob| |00000b30| 74 61 69 6e 20 61 20 63 | 6f 70 79 20 6f 66 20 74 |tain a c|opy of t| |00000b40| 68 65 20 4c 69 63 65 6e | 73 65 20 61 74 0a 20 68 |he Licen|se at. h| |00000b50| 74 74 70 3a 2f 2f 77 77 | 77 2e 6d 6f 7a 69 6c 6c |ttp://ww|w.mozill| |00000b60| 61 2e 6f 72 67 2f 4d 50 | 4c 2f 0a 0a 20 53 6f 66 |a.org/MP|L/.. Sof| |00000b70| 74 77 61 72 65 20 64 69 | 73 74 72 69 62 75 74 65 |tware di|stribute| |00000b80| 64 20 75 6e 64 65 72 20 | 74 68 65 20 4c 69 63 65 |d under |the Lice| |00000b90| 6e 73 65 20 69 73 20 64 | 69 73 74 72 69 62 75 74 |nse is d|istribut| |00000ba0| 65 64 20 6f 6e 20 61 6e | 20 22 41 53 20 49 53 22 |ed on an| "AS IS"| |00000bb0| 20 62 61 73 69 73 2c 0a | 20 57 49 54 48 4f 55 54 | basis,.| WITHOUT| |00000bc0| 20 57 41 52 52 41 4e 54 | 59 20 4f 46 20 41 4e 59 | WARRANT|Y OF ANY| |00000bd0| 20 4b 49 4e 44 2c 20 65 | 69 74 68 65 72 20 65 78 | KIND, e|ither ex| |00000be0| 70 72 65 73 73 20 6f 72 | 20 69 6d 70 6c 69 65 64 |press or| implied| |00000bf0| 2e 20 53 65 65 20 74 68 | 65 20 4c 69 63 65 6e 73 |. See th|e Licens| |00000c00| 65 0a 20 66 6f 72 20 74 | 68 65 20 73 70 65 63 69 |e. for t|he speci| |00000c10| 66 69 63 20 6c 61 6e 67 | 75 61 67 65 20 67 6f 76 |fic lang|uage gov| |00000c20| 65 72 6e 69 6e 67 20 72 | 69 67 68 74 73 20 61 6e |erning r|ights an| |00000c30| 64 20 6c 69 6d 69 74 61 | 74 69 6f 6e 73 20 75 6e |d limita|tions un| |00000c40| 64 65 72 20 74 68 65 0a | 20 4c 69 63 65 6e 73 65 |der the.| License| |00000c50| 2e 0a 0a 20 54 68 65 20 | 4f 72 69 67 69 6e 61 6c |... The |Original| |00000c60| 20 43 6f 64 65 20 69 73 | 20 6d 6f 7a 69 6c 6c 61 | Code is| mozilla| |00000c70| 2e 6f 72 67 20 63 6f 64 | 65 2e 0a 0a 20 54 68 65 |.org cod|e... The| |00000c80| 20 49 6e 69 74 69 61 6c | 20 44 65 76 65 6c 6f 70 | Initial| Develop| |00000c90| 65 72 20 6f 66 20 74 68 | 65 20 4f 72 69 67 69 6e |er of th|e Origin| |00000ca0| 61 6c 20 43 6f 64 65 20 | 69 73 0a 20 4e 65 74 73 |al Code |is. Nets| |00000cb0| 63 61 70 65 20 43 6f 6d | 6d 75 6e 69 63 61 74 69 |cape Com|municati| |00000cc0| 6f 6e 73 20 43 6f 72 70 | 6f 72 61 74 69 6f 6e 2e |ons Corp|oration.| |00000cd0| 0a 20 50 6f 72 74 69 6f | 6e 73 20 63 72 65 61 74 |. Portio|ns creat| |00000ce0| 65 64 20 62 79 20 74 68 | 65 20 49 6e 69 74 69 61 |ed by th|e Initia| |00000cf0| 6c 20 44 65 76 65 6c 6f | 70 65 72 20 61 72 65 20 |l Develo|per are | |00000d00| 43 6f 70 79 72 69 67 68 | 74 20 28 43 29 20 31 39 |Copyrigh|t (C) 19| |00000d10| 39 38 0a 20 74 68 65 20 | 49 6e 69 74 69 61 6c 20 |98. the |Initial | |00000d20| 44 65 76 65 6c 6f 70 65 | 72 2e 20 41 6c 6c 20 52 |Develope|r. All R| |00000d30| 69 67 68 74 73 20 52 65 | 73 65 72 76 65 64 2e 0a |ights Re|served..| |00000d40| 0a 20 43 6f 6e 74 72 69 | 62 75 74 6f 72 28 73 29 |. Contri|butor(s)| |00000d50| 3a 0a 20 20 20 52 6f 62 | 65 72 74 20 47 69 6e 64 |:. Rob|ert Gind| |00000d60| 61 2c 20 72 67 69 6e 64 | 61 40 6e 65 74 73 63 61 |a, rgind|a@netsca| |00000d70| 70 65 2e 63 6f 6d 2c 20 | 6f 72 69 67 69 6e 61 6c |pe.com, |original| |00000d80| 20 61 75 74 68 6f 72 0a | 0a 20 41 6c 74 65 72 6e | author.|. Altern| |00000d90| 61 74 69 76 65 6c 79 2c | 20 74 68 65 20 63 6f 6e |atively,| the con| |00000da0| 74 65 6e 74 73 20 6f 66 | 20 74 68 69 73 20 66 69 |tents of| this fi| |00000db0| 6c 65 20 6d 61 79 20 62 | 65 20 75 73 65 64 20 75 |le may b|e used u| |00000dc0| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o| |00000dd0| 66 0a 20 65 69 74 68 65 | 72 20 74 68 65 20 47 4e |f. eithe|r the GN| |00000de0| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public| |00000df0| 20 4c 69 63 65 6e 73 65 | 20 56 65 72 73 69 6f 6e | License| Version| |00000e00| 20 32 20 6f 72 20 6c 61 | 74 65 72 20 28 74 68 65 | 2 or la|ter (the| |00000e10| 20 22 47 50 4c 22 29 2c | 20 6f 72 0a 20 74 68 65 | "GPL"),| or. the| |00000e20| 20 47 4e 55 20 4c 65 73 | 73 65 72 20 47 65 6e 65 | GNU Les|ser Gene| |00000e30| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen| |00000e40| 73 65 20 56 65 72 73 69 | 6f 6e 20 32 2e 31 20 6f |se Versi|on 2.1 o| |00000e50| 72 20 6c 61 74 65 72 20 | 28 74 68 65 20 22 4c 47 |r later |(the "LG| |00000e60| 50 4c 22 29 2c 0a 20 69 | 6e 20 77 68 69 63 68 20 |PL"),. i|n which | |00000e70| 63 61 73 65 20 74 68 65 | 20 70 72 6f 76 69 73 69 |case the| provisi| |00000e80| 6f 6e 73 20 6f 66 20 74 | 68 65 20 47 50 4c 20 6f |ons of t|he GPL o| |00000e90| 72 20 74 68 65 20 4c 47 | 50 4c 20 61 72 65 20 61 |r the LG|PL are a| |00000ea0| 70 70 6c 69 63 61 62 6c | 65 20 69 6e 73 74 65 61 |pplicabl|e instea| |00000eb0| 64 0a 20 6f 66 20 74 68 | 6f 73 65 20 61 62 6f 76 |d. of th|ose abov| |00000ec0| 65 2e 20 49 66 20 79 6f | 75 20 77 69 73 68 20 74 |e. If yo|u wish t| |00000ed0| 6f 20 61 6c 6c 6f 77 20 | 75 73 65 20 6f 66 20 79 |o allow |use of y| |00000ee0| 6f 75 72 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 74 |our vers|ion of t| |00000ef0| 68 69 73 20 66 69 6c 65 | 20 6f 6e 6c 79 0a 20 75 |his file| only. u| |00000f00| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o| |00000f10| 66 20 65 69 74 68 65 72 | 20 74 68 65 20 47 50 4c |f either| the GPL| |00000f20| 20 6f 72 20 74 68 65 20 | 4c 47 50 4c 2c 20 61 6e | or the |LGPL, an| |00000f30| 64 20 6e 6f 74 20 74 6f | 20 61 6c 6c 6f 77 20 6f |d not to| allow o| |00000f40| 74 68 65 72 73 20 74 6f | 0a 20 75 73 65 20 79 6f |thers to|. use yo| |00000f50| 75 72 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 74 68 |ur versi|on of th| |00000f60| 69 73 20 66 69 6c 65 20 | 75 6e 64 65 72 20 74 68 |is file |under th| |00000f70| 65 20 74 65 72 6d 73 20 | 6f 66 20 74 68 65 20 4d |e terms |of the M| |00000f80| 50 4c 2c 20 69 6e 64 69 | 63 61 74 65 20 79 6f 75 |PL, indi|cate you| |00000f90| 72 0a 20 64 65 63 69 73 | 69 6f 6e 20 62 79 20 64 |r. decis|ion by d| |00000fa0| 65 6c 65 74 69 6e 67 20 | 74 68 65 20 70 72 6f 76 |eleting |the prov| |00000fb0| 69 73 69 6f 6e 73 20 61 | 62 6f 76 65 20 61 6e 64 |isions a|bove and| |00000fc0| 20 72 65 70 6c 61 63 65 | 20 74 68 65 6d 20 77 69 | replace| them wi| |00000fd0| 74 68 20 74 68 65 20 6e | 6f 74 69 63 65 0a 20 61 |th the n|otice. a| |00000fe0| 6e 64 20 6f 74 68 65 72 | 20 70 72 6f 76 69 73 69 |nd other| provisi| |00000ff0| 6f 6e 73 20 72 65 71 75 | 69 72 65 64 20 62 79 20 |ons requ|ired by | |00001000| 74 68 65 20 47 50 4c 20 | 6f 72 20 74 68 65 20 4c |the GPL |or the L| |00001010| 47 50 4c 2e 20 49 66 20 | 79 6f 75 20 64 6f 20 6e |GPL. If |you do n| |00001020| 6f 74 20 64 65 6c 65 74 | 65 0a 20 74 68 65 20 70 |ot delet|e. the p| |00001030| 72 6f 76 69 73 69 6f 6e | 73 20 61 62 6f 76 65 2c |rovision|s above,| |00001040| 20 61 20 72 65 63 69 70 | 69 65 6e 74 20 6d 61 79 | a recip|ient may| |00001050| 20 75 73 65 20 79 6f 75 | 72 20 76 65 72 73 69 6f | use you|r versio| |00001060| 6e 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 75 |n of thi|s file u| |00001070| 6e 64 65 72 0a 20 74 68 | 65 20 74 65 72 6d 73 20 |nder. th|e terms | |00001080| 6f 66 20 61 6e 79 20 6f | 6e 65 20 6f 66 20 74 68 |of any o|ne of th| |00001090| 65 20 4d 50 4c 2c 20 74 | 68 65 20 47 50 4c 20 6f |e MPL, t|he GPL o| |000010a0| 72 20 74 68 65 20 4c 47 | 50 4c 2e 0a 0a 20 2a 2a |r the LG|PL... **| |000010b0| 2a 2a 2a 20 45 4e 44 20 | 4c 49 43 45 4e 53 45 20 |*** END |LICENSE | |000010c0| 42 4c 4f 43 4b 20 2a 2a | 2a 2a 2a 20 2d 2d 3e 0a |BLOCK **|*** -->.| |000010d0| 0a 3c 21 44 4f 43 54 59 | 50 45 20 77 69 6e 64 6f |.<!DOCTY|PE windo| |000010e0| 77 3e 0a 0a 3c 3f 78 6d | 6c 2d 73 74 79 6c 65 73 |w>..<?xm|l-styles| |000010f0| 68 65 65 74 20 68 72 65 | 66 3d 22 63 68 72 6f 6d |heet hre|f="chrom| |00001100| 65 3a 2f 2f 63 76 69 65 | 77 2f 73 6b 69 6e 22 20 |e://cvie|w/skin" | |00001110| 74 79 70 65 3d 22 74 65 | 78 74 2f 63 73 73 22 3f |type="te|xt/css"?| |00001120| 3e 0a 0a 3c 3f 78 75 6c | 2d 6f 76 65 72 6c 61 79 |>..<?xul|-overlay| |00001130| 20 68 72 65 66 3d 22 63 | 68 72 6f 6d 65 3a 2f 2f | href="c|hrome://| |00001140| 67 6c 6f 62 61 6c 2f 63 | 6f 6e 74 65 6e 74 2f 67 |global/c|ontent/g| |00001150| 6c 6f 62 61 6c 4f 76 65 | 72 6c 61 79 2e 78 75 6c |lobalOve|rlay.xul| |00001160| 22 3f 3e 0a 3c 3f 78 75 | 6c 2d 6f 76 65 72 6c 61 |"?>.<?xu|l-overla| |00001170| 79 20 68 72 65 66 3d 22 | 63 68 72 6f 6d 65 3a 2f |y href="|chrome:/| |00001180| 2f 63 6f 6d 6d 75 6e 69 | 63 61 74 6f 72 2f 63 6f |/communi|cator/co| |00001190| 6e 74 65 6e 74 2f 75 74 | 69 6c 69 74 79 4f 76 65 |ntent/ut|ilityOve| |000011a0| 72 6c 61 79 2e 78 75 6c | 22 3f 3e 0a 3c 3f 78 75 |rlay.xul|"?>.<?xu| |000011b0| 6c 2d 6f 76 65 72 6c 61 | 79 20 68 72 65 66 3d 22 |l-overla|y href="| |000011c0| 63 68 72 6f 6d 65 3a 2f | 2f 63 6f 6d 6d 75 6e 69 |chrome:/|/communi| |000011d0| 63 61 74 6f 72 2f 63 6f | 6e 74 65 6e 74 2f 74 61 |cator/co|ntent/ta| |000011e0| 73 6b 73 4f 76 65 72 6c | 61 79 2e 78 75 6c 22 3f |sksOverl|ay.xul"?| |000011f0| 3e 0a 3c 21 2d 2d 0a 20 | 20 69 6e 63 6c 75 64 69 |>.<!--. | includi| |00001200| 6e 67 20 74 61 73 6b 73 | 4f 76 65 72 6c 61 79 2e |ng tasks|Overlay.| |00001210| 78 75 6c 20 69 6d 70 6f | 72 74 73 20 74 68 65 20 |xul impo|rts the | |00001220| 74 61 73 6b 73 20 6d 65 | 6e 75 2c 20 69 74 20 77 |tasks me|nu, it w| |00001230| 69 6c 6c 20 61 70 70 65 | 61 72 0a 20 20 75 6e 64 |ill appe|ar. und| |00001240| 65 72 20 74 68 65 20 27 | 74 61 73 6b 73 4d 65 6e |er the '|tasksMen| |00001250| 75 27 20 3c 6d 65 6e 75 | 3e 20 62 65 6c 6f 77 2e |u' <menu|> below.| |00001260| 0a 2d 2d 3e 0a 0a 3c 77 | 69 6e 64 6f 77 20 69 64 |.-->..<w|indow id| |00001270| 3d 22 6d 61 69 6e 2d 77 | 69 6e 64 6f 77 22 0a 20 |="main-w|indow". | |00001280| 20 20 20 20 20 20 20 78 | 6d 6c 6e 73 3d 22 68 74 | x|mlns="ht| |00001290| 74 70 3a 2f 2f 77 77 77 | 2e 6d 6f 7a 69 6c 6c 61 |tp://www|.mozilla| |000012a0| 2e 6f 72 67 2f 6b 65 79 | 6d 61 73 74 65 72 2f 67 |.org/key|master/g| |000012b0| 61 74 65 6b 65 65 70 65 | 72 2f 74 68 65 72 65 2e |atekeepe|r/there.| |000012c0| 69 73 2e 6f 6e 6c 79 2e | 78 75 6c 22 0a 20 20 20 |is.only.|xul". | |000012d0| 20 20 20 20 20 6f 72 69 | 65 6e 74 3d 22 76 65 72 | ori|ent="ver| |000012e0| 74 69 63 61 6c 22 20 6f | 6e 6c 6f 61 64 3d 22 6f |tical" o|nload="o| |000012f0| 6e 4c 6f 61 64 28 29 3b | 22 20 6f 6e 75 6e 6c 6f |nLoad();|" onunlo| |00001300| 61 64 3d 22 6f 6e 55 6e | 6c 6f 61 64 28 29 3b 22 |ad="onUn|load();"| |00001310| 0a 20 20 20 20 20 20 20 | 20 70 65 72 73 69 73 74 |. | persist| |00001320| 3d 22 77 69 64 74 68 20 | 68 65 69 67 68 74 22 20 |="width |height" | |00001330| 74 69 74 6c 65 3d 22 58 | 50 43 4f 4d 20 43 6f 6d |title="X|PCOM Com| |00001340| 70 6f 6e 65 6e 74 20 56 | 69 65 77 65 72 22 3e 0a |ponent V|iewer">.| |00001350| 3c 21 2d 2d 0a 20 20 54 | 68 65 20 70 65 72 73 69 |<!--. T|he persi| |00001360| 73 74 20 61 74 74 72 69 | 62 75 74 65 20 63 6f 6e |st attri|bute con| |00001370| 74 61 69 6e 73 20 61 74 | 74 72 69 62 75 74 65 73 |tains at|tributes| |00001380| 20 74 68 61 74 20 73 68 | 6f 75 6c 64 20 62 65 20 | that sh|ould be | |00001390| 73 61 76 65 64 20 74 6f | 0a 20 20 6c 6f 63 61 6c |saved to|. local| |000013a0| 73 74 6f 72 65 2e 72 64 | 66 20 77 68 65 6e 20 74 |store.rd|f when t| |000013b0| 68 65 20 77 69 6e 64 6f | 77 20 63 6c 6f 73 65 73 |he windo|w closes| |000013c0| 2e 20 20 54 68 65 20 6e | 65 78 74 20 74 69 6d 65 |. The n|ext time| |000013d0| 20 74 68 69 73 20 77 69 | 6e 64 6f 77 20 69 73 0a | this wi|ndow is.| |000013e0| 20 20 6f 70 65 6e 65 64 | 2c 20 70 65 72 73 69 73 | opened|, persis| |000013f0| 74 65 64 20 70 72 6f 70 | 65 72 74 69 65 73 20 77 |ted prop|erties w| |00001400| 69 6c 6c 20 62 65 20 61 | 75 74 6f 6d 61 74 69 63 |ill be a|utomatic| |00001410| 61 6c 6c 79 20 72 65 73 | 74 6f 72 65 64 2e 0a 2d |ally res|tored..-| |00001420| 2d 3e 0a 0a 3c 21 2d 2d | 0a 20 20 64 65 62 75 67 |->..<!--|. debug| |00001430| 20 6e 65 65 64 73 20 74 | 6f 20 62 65 20 73 65 74 | needs t|o be set| |00001440| 20 62 65 66 6f 72 65 20 | 6c 6f 61 64 69 6e 67 20 | before |loading | |00001450| 74 68 65 20 75 74 69 6c | 69 74 79 20 6c 69 62 72 |the util|ity libr| |00001460| 61 72 79 20 69 6e 20 6f | 72 64 65 72 20 66 6f 72 |ary in o|rder for| |00001470| 0a 20 20 69 74 20 74 6f | 20 74 61 6b 65 20 65 66 |. it to| take ef| |00001480| 66 65 63 74 2e 0a 0a 20 | 20 66 69 6c 65 73 20 6c |fect... | files l| |00001490| 6f 61 64 65 64 20 61 72 | 65 3a 0a 20 20 20 20 74 |oaded ar|e:. t| |000014a0| 72 65 65 2d 75 74 69 6c | 73 2e 6a 73 20 20 47 65 |ree-util|s.js Ge| |000014b0| 6e 65 72 61 6c 20 70 75 | 72 70 6f 73 65 20 74 72 |neral pu|rpose tr| |000014c0| 65 65 20 63 6c 61 73 73 | 65 73 0a 0a 20 20 20 20 |ee class|es.. | |000014d0| 63 76 69 65 77 2d 75 74 | 69 6c 73 2e 6a 73 20 20 |cview-ut|ils.js | |000014e0| 20 20 20 67 65 6e 65 72 | 69 63 20 75 74 69 6c 69 | gener|ic utili| |000014f0| 74 79 20 66 75 6e 63 74 | 69 6f 6e 73 2e 0a 20 20 |ty funct|ions.. | |00001500| 20 20 63 76 69 65 77 2d | 72 64 66 2e 6a 73 20 20 | cview-|rdf.js | |00001510| 20 20 20 20 20 52 44 46 | 20 75 74 69 6c 69 74 79 | RDF| utility| |00001520| 20 63 6c 61 73 73 20 28 | 52 44 46 48 65 6c 70 65 | class (|RDFHelpe| |00001530| 72 29 2e 0a 20 20 20 20 | 63 76 69 65 77 2d 73 74 |r).. |cview-st| |00001540| 61 74 69 63 2e 6a 73 20 | 20 20 20 4e 6f 6e 20 65 |atic.js | Non e| |00001550| 76 65 6e 74 2d 68 61 6e | 64 6c 65 72 20 66 75 6e |vent-han|dler fun| |00001560| 63 74 69 6f 6e 73 20 63 | 6f 72 65 20 74 6f 20 63 |ctions c|ore to c| |00001570| 76 69 65 77 2e 0a 20 20 | 20 20 63 76 69 65 77 2d |view.. | cview-| |00001580| 68 61 6e 64 6c 65 72 73 | 2e 6a 73 20 20 45 76 65 |handlers|.js Eve| |00001590| 6e 74 2d 68 61 6e 64 6c | 65 72 73 20 63 6f 72 65 |nt-handl|ers core| |000015a0| 20 74 6f 20 63 76 69 65 | 77 2e 0a 20 20 20 20 63 | to cvie|w.. c| |000015b0| 76 69 65 77 2d 74 72 65 | 65 73 2e 6a 73 20 43 56 |view-tre|es.js CV| |000015c0| 69 65 77 20 73 70 65 63 | 69 66 69 63 20 74 72 65 |iew spec|ific tre| |000015d0| 65 73 0a 2d 2d 3e 0a 20 | 20 3c 73 63 72 69 70 74 |es.-->. | <script| |000015e0| 3e 0a 20 20 20 20 76 61 | 72 20 44 45 42 55 47 20 |>. va|r DEBUG | |000015f0| 3d 20 74 72 75 65 3b 0a | 20 20 3c 2f 73 63 72 69 |= true;.| </scri| |00001600| 70 74 3e 0a 20 20 3c 73 | 63 72 69 70 74 20 73 72 |pt>. <s|cript sr| |00001610| 63 3d 22 63 68 72 6f 6d | 65 3a 2f 2f 63 76 69 65 |c="chrom|e://cvie| |00001620| 77 2f 63 6f 6e 74 65 6e | 74 2f 74 72 65 65 2d 75 |w/conten|t/tree-u| |00001630| 74 69 6c 73 2e 6a 73 22 | 2f 3e 0a 20 20 3c 73 63 |tils.js"|/>. <sc| |00001640| 72 69 70 74 20 73 72 63 | 3d 22 63 68 72 6f 6d 65 |ript src|="chrome| |00001650| 3a 2f 2f 63 76 69 65 77 | 2f 63 6f 6e 74 65 6e 74 |://cview|/content| |00001660| 2f 63 76 69 65 77 2d 75 | 74 69 6c 73 2e 6a 73 22 |/cview-u|tils.js"| |00001670| 2f 3e 0a 20 20 3c 73 63 | 72 69 70 74 20 73 72 63 |/>. <sc|ript src| |00001680| 3d 22 63 68 72 6f 6d 65 | 3a 2f 2f 63 76 69 65 77 |="chrome|://cview| |00001690| 2f 63 6f 6e 74 65 6e 74 | 2f 63 76 69 65 77 2d 72 |/content|/cview-r| |000016a0| 64 66 2e 6a 73 22 2f 3e | 0a 20 20 3c 73 63 72 69 |df.js"/>|. <scri| |000016b0| 70 74 20 73 72 63 3d 22 | 63 68 72 6f 6d 65 3a 2f |pt src="|chrome:/| |000016c0| 2f 63 76 69 65 77 2f 63 | 6f 6e 74 65 6e 74 2f 63 |/cview/c|ontent/c| |000016d0| 76 69 65 77 2d 73 74 61 | 74 69 63 2e 6a 73 22 2f |view-sta|tic.js"/| |000016e0| 3e 0a 20 20 3c 73 63 72 | 69 70 74 20 73 72 63 3d |>. <scr|ipt src=| |000016f0| 22 63 68 72 6f 6d 65 3a | 2f 2f 63 76 69 65 77 2f |"chrome:|//cview/| |00001700| 63 6f 6e 74 65 6e 74 2f | 63 76 69 65 77 2d 68 61 |content/|cview-ha| |00001710| 6e 64 6c 65 72 73 2e 6a | 73 22 2f 3e 0a 20 20 3c |ndlers.j|s"/>. <| |00001720| 73 63 72 69 70 74 20 73 | 72 63 3d 22 63 68 72 6f |script s|rc="chro| |00001730| 6d 65 3a 2f 2f 63 76 69 | 65 77 2f 63 6f 6e 74 65 |me://cvi|ew/conte| |00001740| 6e 74 2f 63 76 69 65 77 | 2d 74 72 65 65 73 2e 6a |nt/cview|-trees.j| |00001750| 73 22 2f 3e 0a 0a 3c 21 | 2d 2d 0a 20 20 54 68 69 |s"/>..<!|--. Thi| |00001760| 73 20 70 6f 70 75 70 20 | 69 73 20 74 68 65 20 63 |s popup |is the c| |00001770| 6f 6e 74 65 78 74 20 6d | 65 6e 75 20 66 6f 72 20 |ontext m|enu for | |00001780| 65 6c 65 6d 65 6e 74 73 | 20 69 6e 20 74 68 65 20 |elements| in the | |00001790| 69 6e 74 65 72 66 61 63 | 65 73 20 6c 69 73 74 2e |interfac|es list.| |000017a0| 0a 2d 2d 3e 0a 20 20 3c | 70 6f 70 75 70 73 65 74 |.-->. <|popupset| |000017b0| 3e 0a 20 20 20 20 3c 70 | 6f 70 75 70 20 69 64 3d |>. <p|opup id=| |000017c0| 22 69 6e 74 65 72 66 61 | 63 65 50 6f 70 75 70 22 |"interfa|cePopup"| |000017d0| 3e 0a 20 20 20 20 3c 6d | 65 6e 75 69 74 65 6d 20 |>. <m|enuitem | |000017e0| 6c 61 62 65 6c 3d 22 4c | 58 52 20 66 69 6c 65 6e |label="L|XR filen| |000017f0| 61 6d 65 20 6c 6f 6f 6b | 75 70 22 0a 20 20 20 20 |ame look|up". | |00001800| 20 20 20 20 6f 6e 63 6f | 6d 6d 61 6e 64 3d 22 6f | onco|mmand="o| |00001810| 6e 4c 58 52 49 46 43 4c | 6f 6f 6b 75 70 28 65 76 |nLXRIFCL|ookup(ev| |00001820| 65 6e 74 2c 27 66 69 6e | 64 3f 73 74 72 69 6e 67 |ent,'fin|d?string| |00001830| 3d 27 29 3b 22 2f 3e 0a | 20 20 20 20 3c 6d 65 6e |=');"/>.| <men| |00001840| 75 69 74 65 6d 20 6c 61 | 62 65 6c 3d 22 4c 58 52 |uitem la|bel="LXR| |00001850| 20 74 65 78 74 20 6c 6f | 6f 6b 75 70 22 0a 20 20 | text lo|okup". | |00001860| 20 20 20 20 20 20 6f 6e | 63 6f 6d 6d 61 6e 64 3d | on|command=| |00001870| 22 6f 6e 4c 58 52 49 46 | 43 4c 6f 6f 6b 75 70 28 |"onLXRIF|CLookup(| |00001880| 65 76 65 6e 74 2c 20 27 | 73 65 61 72 63 68 3f 73 |event, '|search?s| |00001890| 74 72 69 6e 67 3d 27 29 | 3b 22 2f 3e 0a 20 20 20 |tring=')|;"/>. | |000018a0| 20 3c 2f 70 6f 70 75 70 | 3e 0a 20 20 3c 2f 70 6f | </popup|>. </po| |000018b0| 70 75 70 73 65 74 3e 0a | 0a 20 20 3c 74 6f 6f 6c |pupset>.|. <tool| |000018c0| 62 6f 78 3e 0a 20 20 20 | 20 3c 6d 65 6e 75 62 61 |box>. | <menuba| |000018d0| 72 20 69 64 3d 22 6d 61 | 69 6e 2d 6d 65 6e 75 62 |r id="ma|in-menub| |000018e0| 61 72 22 3e 0a 20 20 20 | 20 20 20 3c 6d 65 6e 75 |ar">. | <menu| |000018f0| 20 69 64 3d 22 76 69 65 | 77 2d 6d 65 6e 75 22 20 | id="vie|w-menu" | |00001900| 6c 61 62 65 6c 3d 22 56 | 69 65 77 22 3e 0a 20 20 |label="V|iew">. | |00001910| 20 20 20 20 20 20 3c 6d | 65 6e 75 70 6f 70 75 70 | <m|enupopup| |00001920| 3e 0a 20 20 20 20 20 20 | 20 20 20 20 3c 6d 65 6e |>. | <men| |00001930| 75 20 6c 61 62 65 6c 3d | 22 43 6f 6d 70 6f 6e 65 |u label=|"Compone| |00001940| 6e 74 73 22 3e 0a 20 20 | 20 20 20 20 20 20 20 20 |nts">. | | |00001950| 20 20 3c 6d 65 6e 75 70 | 6f 70 75 70 3e 0a 20 20 | <menup|opup>. | |00001960| 20 20 20 20 20 20 20 20 | 20 20 20 20 3c 6d 65 6e | | <men| |00001970| 75 69 74 65 6d 20 69 64 | 3d 22 6d 65 6e 75 2d 63 |uitem id|="menu-c| |00001980| 6d 70 2d 73 68 6f 77 2d | 61 6c 6c 22 20 6c 61 62 |mp-show-|all" lab| |00001990| 65 6c 3d 22 41 6c 6c 22 | 20 63 68 65 63 6b 65 64 |el="All"| checked| |000019a0| 3d 22 74 72 75 65 22 0a | 20 20 20 20 20 20 20 20 |="true".| | |000019b0| 20 20 20 20 20 20 20 20 | 74 79 70 65 3d 22 63 68 | |type="ch| |000019c0| 65 63 6b 62 6f 78 22 0a | 20 20 20 20 20 20 20 20 |eckbox".| | |000019d0| 20 20 20 20 20 20 20 20 | 6f 6e 63 6f 6d 6d 61 6e | |oncomman| |000019e0| 64 3d 22 6f 6e 43 68 61 | 6e 67 65 44 69 73 70 6c |d="onCha|ngeDispl| |000019f0| 61 79 4d 6f 64 65 28 65 | 76 65 6e 74 29 3b 22 2f |ayMode(e|vent);"/| |00001a00| 3e 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |>. | | |00001a10| 3c 6d 65 6e 75 69 74 65 | 6d 20 69 64 3d 22 6d 65 |<menuite|m id="me| |00001a20| 6e 75 2d 63 6d 70 2d 73 | 68 6f 77 2d 63 6f 6e 74 |nu-cmp-s|how-cont| |00001a30| 61 69 6e 73 22 0a 20 20 | 20 20 20 20 20 20 20 20 |ains". | | |00001a40| 20 20 20 20 20 20 6c 61 | 62 65 6c 3d 22 43 6f 6e | la|bel="Con| |00001a50| 74 61 69 6e 69 6e 67 2e | 2e 2e 22 20 74 79 70 65 |taining.|.." type| |00001a60| 3d 22 63 68 65 63 6b 62 | 6f 78 22 0a 20 20 20 20 |="checkb|ox". | |00001a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 6f 6e 63 6f | | onco| |00001a80| 6d 6d 61 6e 64 3d 22 6f | 6e 43 68 61 6e 67 65 44 |mmand="o|nChangeD| |00001a90| 69 73 70 6c 61 79 4d 6f | 64 65 28 65 76 65 6e 74 |isplayMo|de(event| |00001aa0| 29 3b 22 2f 3e 0a 20 20 | 20 20 20 20 20 20 20 20 |);"/>. | | |00001ab0| 20 20 20 20 3c 6d 65 6e | 75 69 74 65 6d 20 69 64 | <men|uitem id| |00001ac0| 3d 22 6d 65 6e 75 2d 63 | 6d 70 2d 73 68 6f 77 2d |="menu-c|mp-show-| |00001ad0| 73 74 61 72 74 73 2d 77 | 69 74 68 22 0a 20 20 20 |starts-w|ith". | |00001ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6c 61 62 | | lab| |00001af0| 65 6c 3d 22 53 74 61 72 | 74 69 6e 67 20 77 69 74 |el="Star|ting wit| |00001b00| 68 2e 2e 2e 22 20 74 79 | 70 65 3d 22 63 68 65 63 |h..." ty|pe="chec| |00001b10| 6b 62 6f 78 22 0a 20 20 | 20 20 20 20 20 20 20 20 |kbox". | | |00001b20| 20 20 20 20 20 20 6f 6e | 63 6f 6d 6d 61 6e 64 3d | on|command=| |00001b30| 22 6f 6e 43 68 61 6e 67 | 65 44 69 73 70 6c 61 79 |"onChang|eDisplay| |00001b40| 4d 6f 64 65 28 65 76 65 | 6e 74 29 3b 22 2f 3e 0a |Mode(eve|nt);"/>.| |00001b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 3c 2f 6d 65 | | </me| |00001b60| 6e 75 70 6f 70 75 70 3e | 0a 20 20 20 20 20 20 20 |nupopup>|. | |00001b70| 20 20 20 3c 2f 6d 65 6e | 75 3e 0a 20 20 20 20 20 | </men|u>. | |00001b80| 20 20 20 20 20 3c 6d 65 | 6e 75 20 6c 61 62 65 6c | <me|nu label| |00001b90| 3d 22 49 6e 74 65 72 66 | 61 63 65 73 22 3e 0a 20 |="Interf|aces">. | |00001ba0| 20 20 20 20 20 20 20 20 | 20 20 20 3c 6d 65 6e 75 | | <menu| |00001bb0| 70 6f 70 75 70 3e 0a 20 | 20 20 20 20 20 20 20 20 |popup>. | | |00001bc0| 20 20 20 20 20 3c 6d 65 | 6e 75 69 74 65 6d 20 69 | <me|nuitem i| |00001bd0| 64 3d 22 6d 65 6e 75 2d | 69 66 63 2d 73 68 6f 77 |d="menu-|ifc-show| |00001be0| 2d 61 6c 6c 22 20 6c 61 | 62 65 6c 3d 22 41 6c 6c |-all" la|bel="All| |00001bf0| 22 20 63 68 65 63 6b 65 | 64 3d 22 74 72 75 65 22 |" checke|d="true"| |00001c00| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | | |00001c10| 20 74 79 70 65 3d 22 63 | 68 65 63 6b 62 6f 78 22 | type="c|heckbox"| |00001c20| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | | |00001c30| 20 6f 6e 63 6f 6d 6d 61 | 6e 64 3d 22 6f 6e 43 68 | oncomma|nd="onCh| |00001c40| 61 6e 67 65 44 69 73 70 | 6c 61 79 4d 6f 64 65 28 |angeDisp|layMode(| |00001c50| 65 76 65 6e 74 29 3b 22 | 2f 3e 0a 20 20 20 20 20 |event);"|/>. | |00001c60| 20 20 20 20 20 20 20 20 | 20 3c 6d 65 6e 75 69 74 | | <menuit| |00001c70| 65 6d 20 69 64 3d 22 6d | 65 6e 75 2d 69 66 63 2d |em id="m|enu-ifc-| |00001c80| 73 68 6f 77 2d 63 6f 6e | 74 61 69 6e 73 22 0a 20 |show-con|tains". | |00001c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6c | | l| |00001ca0| 61 62 65 6c 3d 22 43 6f | 6e 74 61 69 6e 69 6e 67 |abel="Co|ntaining| |00001cb0| 2e 2e 2e 22 20 74 79 70 | 65 3d 22 63 68 65 63 6b |..." typ|e="check| |00001cc0| 62 6f 78 22 0a 20 20 20 | 20 20 20 20 20 20 20 20 |box". | | |00001cd0| 20 20 20 20 20 6f 6e 63 | 6f 6d 6d 61 6e 64 3d 22 | onc|ommand="| |00001ce0| 6f 6e 43 68 61 6e 67 65 | 44 69 73 70 6c 61 79 4d |onChange|DisplayM| |00001cf0| 6f 64 65 28 65 76 65 6e | 74 29 3b 22 2f 3e 0a 20 |ode(even|t);"/>. | |00001d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3c 6d 65 | | <me| |00001d10| 6e 75 69 74 65 6d 20 69 | 64 3d 22 6d 65 6e 75 2d |nuitem i|d="menu-| |00001d20| 69 66 63 2d 73 68 6f 77 | 2d 73 74 61 72 74 73 2d |ifc-show|-starts-| |00001d30| 77 69 74 68 22 0a 20 20 | 20 20 20 20 20 20 20 20 |with". | | |00001d40| 20 20 20 20 20 20 6c 61 | 62 65 6c 3d 22 53 74 61 | la|bel="Sta| |00001d50| 72 74 69 6e 67 20 77 69 | 74 68 2e 2e 2e 22 20 74 |rting wi|th..." t| |00001d60| 79 70 65 3d 22 63 68 65 | 63 6b 62 6f 78 22 0a 20 |ype="che|ckbox". | |00001d70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6f | | o| |00001d80| 6e 63 6f 6d 6d 61 6e 64 | 3d 22 6f 6e 43 68 61 6e |ncommand|="onChan| |00001d90| 67 65 44 69 73 70 6c 61 | 79 4d 6f 64 65 28 65 76 |geDispla|yMode(ev| |00001da0| 65 6e 74 29 3b 22 2f 3e | 0a 20 20 20 20 20 20 20 |ent);"/>|. | |00001db0| 20 20 20 20 20 20 20 3c | 6d 65 6e 75 69 74 65 6d | <|menuitem| |00001dc0| 20 69 64 3d 22 6d 65 6e | 75 2d 69 66 63 2d 73 68 | id="men|u-ifc-sh| |00001dd0| 6f 77 2d 69 6d 70 6c 65 | 6d 65 6e 74 65 64 2d 62 |ow-imple|mented-b| |00001de0| 79 22 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |y". | | |00001df0| 20 20 20 6c 61 62 65 6c | 3d 22 49 6d 70 6c 65 6d | label|="Implem| |00001e00| 65 6e 74 65 64 20 62 79 | 20 73 65 6c 65 63 74 65 |ented by| selecte| |00001e10| 64 20 63 6f 6d 70 6f 6e | 65 6e 74 22 20 0a 20 20 |d compon|ent" . | |00001e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 79 | | ty| |00001e30| 70 65 3d 22 63 68 65 63 | 6b 62 6f 78 22 0a 20 20 |pe="chec|kbox". | |00001e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6f 6e | | on| |00001e50| 63 6f 6d 6d 61 6e 64 3d | 22 6f 6e 43 68 61 6e 67 |command=|"onChang| |00001e60| 65 44 69 73 70 6c 61 79 | 4d 6f 64 65 28 65 76 65 |eDisplay|Mode(eve| |00001e70| 6e 74 29 3b 22 2f 3e 0a | 20 20 20 20 20 20 20 20 |nt);"/>.| | |00001e80| 20 20 20 20 3c 2f 6d 65 | 6e 75 70 6f 70 75 70 3e | </me|nupopup>| |00001e90| 0a 20 20 20 20 20 20 20 | 20 20 20 3c 2f 6d 65 6e |. | </men| |00001ea0| 75 3e 0a 20 20 20 20 20 | 20 20 20 3c 2f 6d 65 6e |u>. | </men| |00001eb0| 75 70 6f 70 75 70 3e 20 | 20 0a 20 20 20 20 20 20 |upopup> | . | |00001ec0| 3c 2f 6d 65 6e 75 3e 0a | 20 20 20 20 20 20 3c 6d |</menu>.| <m| |00001ed0| 65 6e 75 20 69 64 3d 22 | 74 61 73 6b 73 4d 65 6e |enu id="|tasksMen| |00001ee0| 75 22 2f 3e 0a 20 20 20 | 20 3c 2f 6d 65 6e 75 62 |u"/>. | </menub| |00001ef0| 61 72 3e 0a 20 20 3c 2f | 74 6f 6f 6c 62 6f 78 3e |ar>. </|toolbox>| |00001f00| 0a 0a 20 20 3c 76 62 6f | 78 20 69 64 3d 22 6f 75 |.. <vbo|x id="ou| |00001f10| 74 65 72 2d 62 6f 78 22 | 20 66 6c 65 78 3d 22 31 |ter-box"| flex="1| |00001f20| 22 3e 0a 20 20 3c 68 62 | 6f 78 20 69 64 3d 22 69 |">. <hb|ox id="i| |00001f30| 6e 6e 65 72 2d 62 6f 78 | 22 20 66 6c 65 78 3d 22 |nner-box|" flex="| |00001f40| 39 22 3e 0a 20 20 20 20 | 3c 76 62 6f 78 20 69 64 |9">. |<vbox id| |00001f50| 3d 22 63 6f 6d 70 6f 6e | 65 6e 74 2d 62 6f 78 22 |="compon|ent-box"| |00001f60| 20 66 6c 65 78 3d 22 31 | 22 20 77 69 64 74 68 3d | flex="1|" width=| |00001f70| 22 35 30 25 22 3e 0a 20 | 20 20 20 20 20 3c 74 65 |"50%">. | <te| |00001f80| 78 74 20 69 64 3d 22 63 | 6f 6d 70 6f 6e 65 6e 74 |xt id="c|omponent| |00001f90| 2d 6c 61 62 65 6c 22 20 | 76 61 6c 75 65 3d 22 43 |-label" |value="C| |00001fa0| 6f 6d 70 6f 6e 65 6e 74 | 73 2e 2e 2e 22 20 63 72 |omponent|s..." cr| |00001fb0| 6f 70 3d 22 72 69 67 68 | 74 22 2f 3e 0a 0a 20 20 |op="righ|t"/>.. | |00001fc0| 20 20 20 20 3c 74 72 65 | 65 20 66 6c 65 78 3d 22 | <tre|e flex="| |00001fd0| 31 22 20 69 64 3d 22 63 | 6f 6d 70 6f 6e 65 6e 74 |1" id="c|omponent| |00001fe0| 2d 74 72 65 65 22 20 70 | 65 72 73 69 73 74 3d 22 |-tree" p|ersist="| |00001ff0| 68 65 69 67 68 74 22 0a | 20 20 20 20 20 20 20 20 |height".| | |00002000| 70 72 69 6d 61 72 79 3d | 22 74 72 75 65 22 20 6f |primary=|"true" o| |00002010| 6e 73 65 6c 65 63 74 3d | 22 6f 6e 43 6f 6d 70 6f |nselect=|"onCompo| |00002020| 6e 65 6e 74 53 65 6c 65 | 63 74 28 65 76 65 6e 74 |nentSele|ct(event| |00002030| 29 3b 22 0a 20 20 20 20 | 20 20 20 20 6f 6e 63 6c |);". | oncl| |00002040| 69 63 6b 3d 22 6f 6e 43 | 6f 6d 70 6f 6e 65 6e 74 |ick="onC|omponent| |00002050| 43 6c 69 63 6b 28 65 76 | 65 6e 74 29 3b 22 3e 0a |Click(ev|ent);">.| |00002060| 0a 20 20 20 20 20 20 20 | 20 3c 74 72 65 65 63 6f |. | <treeco| |00002070| 6c 73 3e 0a 20 20 20 20 | 20 20 20 20 20 20 3c 74 |ls>. | <t| |00002080| 72 65 65 63 6f 6c 20 69 | 64 3d 22 63 6d 70 2d 6e |reecol i|d="cmp-n| |00002090| 61 6d 65 22 20 6c 61 62 | 65 6c 3d 22 4e 61 6d 65 |ame" lab|el="Name| |000020a0| 22 20 70 72 69 6d 61 72 | 79 3d 22 74 72 75 65 22 |" primar|y="true"| |000020b0| 20 66 6c 65 78 3d 22 31 | 22 0a 20 20 20 20 20 20 | flex="1|". | |000020c0| 20 20 20 20 20 20 70 65 | 72 73 69 73 74 3d 22 68 | pe|rsist="h| |000020d0| 69 64 64 65 6e 20 77 69 | 64 74 68 22 2f 3e 0a 20 |idden wi|dth"/>. | |000020e0| 20 20 20 20 20 20 20 20 | 20 3c 73 70 6c 69 74 74 | | <splitt| |000020f0| 65 72 20 63 6c 61 73 73 | 3d 22 74 72 65 65 2d 73 |er class|="tree-s| |00002100| 70 6c 69 74 74 65 72 22 | 2f 3e 0a 20 20 20 20 20 |plitter"|/>. | |00002110| 20 20 20 20 20 3c 74 72 | 65 65 63 6f 6c 20 69 64 | <tr|eecol id| |00002120| 3d 22 63 6d 70 2d 6e 75 | 6d 62 65 72 22 20 66 6c |="cmp-nu|mber" fl| |00002130| 65 78 3d 22 31 22 20 6c | 61 62 65 6c 3d 22 4e 75 |ex="1" l|abel="Nu| |00002140| 6d 62 65 72 22 0a 20 20 | 20 20 20 20 20 20 20 20 |mber". | | |00002150| 20 20 70 65 72 73 69 73 | 74 3d 22 68 69 64 64 65 | persis|t="hidde| |00002160| 6e 20 77 69 64 74 68 22 | 2f 3e 0a 20 20 20 20 20 |n width"|/>. | |00002170| 20 20 20 3c 2f 74 72 65 | 65 63 6f 6c 73 3e 0a 20 | </tre|ecols>. | |00002180| 20 20 20 20 20 20 20 3c | 74 72 65 65 63 68 69 6c | <|treechil| |00002190| 64 72 65 6e 20 69 64 3d | 22 70 72 6f 6a 65 63 74 |dren id=|"project| |000021a0| 2d 62 6f 64 79 22 2f 3e | 0a 20 20 20 20 20 20 3c |-body"/>|. <| |000021b0| 2f 74 72 65 65 3e 0a 0a | 20 20 20 20 3c 2f 76 62 |/tree>..| </vb| |000021c0| 6f 78 3e 0a 0a 20 20 20 | 20 3c 73 70 6c 69 74 74 |ox>.. | <splitt| |000021d0| 65 72 20 69 64 3d 22 6d | 61 69 6e 2d 73 70 6c 69 |er id="m|ain-spli| |000021e0| 74 74 65 72 22 20 63 6f | 6c 6c 61 70 73 65 3d 22 |tter" co|llapse="| |000021f0| 61 66 74 65 72 22 3e 0a | 20 20 20 20 20 20 3c 67 |after">.| <g| |00002200| 72 69 70 70 79 2f 3e 0a | 20 20 20 20 3c 2f 73 70 |rippy/>.| </sp| |00002210| 6c 69 74 74 65 72 3e 0a | 0a 20 20 20 20 3c 76 62 |litter>.|. <vb| |00002220| 6f 78 20 69 64 3d 22 69 | 6e 74 65 72 66 61 63 65 |ox id="i|nterface| |00002230| 2d 62 6f 78 22 20 66 6c | 65 78 3d 22 31 22 20 77 |-box" fl|ex="1" w| |00002240| 69 64 74 68 3d 22 35 30 | 25 22 3e 0a 20 20 20 20 |idth="50|%">. | |00002250| 3c 74 65 78 74 20 69 64 | 3d 22 69 6e 74 65 72 66 |<text id|="interf| |00002260| 61 63 65 2d 6c 61 62 65 | 6c 22 20 76 61 6c 75 65 |ace-labe|l" value| |00002270| 3d 22 49 6e 74 65 72 66 | 61 63 65 73 2e 2e 2e 22 |="Interf|aces..."| |00002280| 20 63 72 6f 70 3d 22 72 | 69 67 68 74 22 2f 3e 0a | crop="r|ight"/>.| |00002290| 0a 20 20 20 20 20 20 3c | 74 72 65 65 20 66 6c 65 |. <|tree fle| |000022a0| 78 3d 22 31 22 20 69 64 | 3d 22 69 6e 74 65 72 66 |x="1" id|="interf| |000022b0| 61 63 65 2d 74 72 65 65 | 22 20 70 65 72 73 69 73 |ace-tree|" persis| |000022c0| 74 3d 22 68 65 69 67 68 | 74 22 0a 20 20 20 20 20 |t="heigh|t". | |000022d0| 20 20 20 6f 6e 63 6c 69 | 63 6b 3d 22 6f 6e 49 6e | oncli|ck="onIn| |000022e0| 74 65 72 66 61 63 65 43 | 6c 69 63 6b 28 65 76 65 |terfaceC|lick(eve| |000022f0| 6e 74 29 3b 22 20 63 6f | 6e 74 65 78 74 3d 22 69 |nt);" co|ntext="i| |00002300| 6e 74 65 72 66 61 63 65 | 50 6f 70 75 70 22 0a 20 |nterface|Popup". | |00002310| 20 20 20 20 20 20 20 6f | 6e 73 65 6c 65 63 74 3d | o|nselect=| |00002320| 22 6f 6e 49 6e 74 65 72 | 66 61 63 65 53 65 6c 65 |"onInter|faceSele| |00002330| 63 74 28 65 76 65 6e 74 | 29 3b 22 3e 0a 0a 20 20 |ct(event|);">.. | |00002340| 20 20 20 20 20 20 3c 74 | 72 65 65 63 6f 6c 73 3e | <t|reecols>| |00002350| 0a 20 20 20 20 20 20 20 | 20 20 20 3c 74 72 65 65 |. | <tree| |00002360| 63 6f 6c 20 69 64 3d 22 | 69 66 63 2d 6e 61 6d 65 |col id="|ifc-name| |00002370| 22 20 6c 61 62 65 6c 3d | 22 4e 61 6d 65 22 20 70 |" label=|"Name" p| |00002380| 72 69 6d 61 72 79 3d 22 | 74 72 75 65 22 20 66 6c |rimary="|true" fl| |00002390| 65 78 3d 22 31 22 0a 20 | 20 20 20 20 20 20 20 20 |ex="1". | | |000023a0| 20 20 20 70 65 72 73 69 | 73 74 3d 22 68 69 64 64 | persi|st="hidd| |000023b0| 65 6e 20 77 69 64 74 68 | 22 2f 3e 0a 20 20 20 20 |en width|"/>. | |000023c0| 20 20 20 20 20 20 3c 73 | 70 6c 69 74 74 65 72 20 | <s|plitter | |000023d0| 63 6c 61 73 73 3d 22 74 | 72 65 65 2d 73 70 6c 69 |class="t|ree-spli| |000023e0| 74 74 65 72 22 2f 3e 0a | 20 20 20 20 20 20 20 20 |tter"/>.| | |000023f0| 20 20 3c 74 72 65 65 63 | 6f 6c 20 69 64 3d 22 69 | <treec|ol id="i| |00002400| 66 63 2d 6e 75 6d 62 65 | 72 22 20 66 6c 65 78 3d |fc-numbe|r" flex=| |00002410| 22 31 22 20 6c 61 62 65 | 6c 3d 22 4e 75 6d 62 65 |"1" labe|l="Numbe| |00002420| 72 22 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 70 |r". | p| |00002430| 65 72 73 69 73 74 3d 22 | 68 69 64 64 65 6e 20 77 |ersist="|hidden w| |00002440| 69 64 74 68 22 2f 3e 0a | 20 20 20 20 20 20 20 20 |idth"/>.| | |00002450| 3c 2f 74 72 65 65 63 6f | 6c 73 3e 0a 20 20 20 20 |</treeco|ls>. | |00002460| 20 20 20 20 3c 74 72 65 | 65 63 68 69 6c 64 72 65 | <tre|echildre| |00002470| 6e 20 69 64 3d 22 70 72 | 6f 6a 65 63 74 2d 62 6f |n id="pr|oject-bo| |00002480| 64 79 22 2f 3e 0a 20 20 | 20 20 20 20 3c 2f 74 72 |dy"/>. | </tr| |00002490| 65 65 3e 0a 0a 20 20 20 | 20 3c 2f 76 62 6f 78 3e |ee>.. | </vbox>| |000024a0| 0a 0a 20 20 3c 2f 68 62 | 6f 78 3e 20 3c 21 2d 2d |.. </hb|ox> <!--| |000024b0| 20 69 6e 6e 65 72 2d 62 | 6f 78 20 2d 2d 3e 0a 0a | inner-b|ox -->..| |000024c0| 20 20 3c 73 70 6c 69 74 | 74 65 72 20 69 64 3d 22 | <split|ter id="| |000024d0| 74 65 78 74 62 6f 78 2d | 73 70 6c 69 74 74 65 72 |textbox-|splitter| |000024e0| 22 20 63 6f 6c 6c 61 70 | 73 65 3d 22 61 66 74 65 |" collap|se="afte| |000024f0| 72 22 3e 0a 20 20 20 20 | 3c 67 72 69 70 70 79 2f |r">. |<grippy/| |00002500| 3e 0a 20 20 3c 2f 73 70 | 6c 69 74 74 65 72 3e 0a |>. </sp|litter>.| |00002510| 0a 20 20 3c 74 65 78 74 | 62 6f 78 20 6d 75 6c 74 |. <text|box mult| |00002520| 69 6c 69 6e 65 3d 22 74 | 72 75 65 22 20 72 65 61 |iline="t|rue" rea| |00002530| 64 6f 6e 6c 79 3d 22 74 | 72 75 65 22 20 69 64 3d |donly="t|rue" id=| |00002540| 22 6f 75 74 70 75 74 2d | 74 65 78 74 22 20 66 6c |"output-|text" fl| |00002550| 65 78 3d 22 31 22 2f 3e | 0a 0a 20 20 3c 2f 76 62 |ex="1"/>|.. </vb| |00002560| 6f 78 3e 20 3c 21 2d 2d | 20 6f 75 74 65 72 2d 62 |ox> <!--| outer-b| |00002570| 6f 78 20 2d 2d 3e 0a 3c | 2f 77 69 6e 64 6f 77 3e |ox -->.<|/window>| |00002580| 0a 50 4b 03 04 0a 00 00 | 00 00 00 a5 a0 c6 34 3a |.PK.....|......4:| |00002590| d5 7e 59 67 84 00 00 67 | 84 00 00 1b 00 00 00 63 |.~Yg...g|.......c| |000025a0| 6f 6e 74 65 6e 74 2f 63 | 76 69 65 77 2f 74 72 65 |ontent/c|view/tre| |000025b0| 65 2d 75 74 69 6c 73 2e | 6a 73 2f 2a 20 2d 2a 2d |e-utils.|js/* -*-| |000025c0| 20 4d 6f 64 65 3a 20 43 | 2b 2b 3b 20 74 61 62 2d | Mode: C|++; tab-| |000025d0| 77 69 64 74 68 3a 20 34 | 3b 20 69 6e 64 65 6e 74 |width: 4|; indent| |000025e0| 2d 74 61 62 73 2d 6d 6f | 64 65 3a 20 6e 69 6c 3b |-tabs-mo|de: nil;| |000025f0| 20 63 2d 62 61 73 69 63 | 2d 6f 66 66 73 65 74 3a | c-basic|-offset:| |00002600| 20 34 20 2d 2a 2d 0a 20 | 2a 0a 20 2a 20 2a 2a 2a | 4 -*-. |*. * ***| |00002610| 2a 2a 20 42 45 47 49 4e | 20 4c 49 43 45 4e 53 45 |** BEGIN| LICENSE| |00002620| 20 42 4c 4f 43 4b 20 2a | 2a 2a 2a 2a 0a 20 2a 20 | BLOCK *|****. * | |00002630| 56 65 72 73 69 6f 6e 3a | 20 4d 50 4c 20 31 2e 31 |Version:| MPL 1.1| |00002640| 2f 47 50 4c 20 32 2e 30 | 2f 4c 47 50 4c 20 32 2e |/GPL 2.0|/LGPL 2.| |00002650| 31 0a 20 2a 0a 20 2a 20 | 54 68 65 20 63 6f 6e 74 |1. *. * |The cont| |00002660| 65 6e 74 73 20 6f 66 20 | 74 68 69 73 20 66 69 6c |ents of |this fil| |00002670| 65 20 61 72 65 20 73 75 | 62 6a 65 63 74 20 74 6f |e are su|bject to| |00002680| 20 74 68 65 20 4d 6f 7a | 69 6c 6c 61 20 50 75 62 | the Moz|illa Pub| |00002690| 6c 69 63 20 4c 69 63 65 | 6e 73 65 20 56 65 72 73 |lic Lice|nse Vers| |000026a0| 69 6f 6e 0a 20 2a 20 31 | 2e 31 20 28 74 68 65 20 |ion. * 1|.1 (the | |000026b0| 22 4c 69 63 65 6e 73 65 | 22 29 3b 20 79 6f 75 20 |"License|"); you | |000026c0| 6d 61 79 20 6e 6f 74 20 | 75 73 65 20 74 68 69 73 |may not |use this| |000026d0| 20 66 69 6c 65 20 65 78 | 63 65 70 74 20 69 6e 20 | file ex|cept in | |000026e0| 63 6f 6d 70 6c 69 61 6e | 63 65 20 77 69 74 68 0a |complian|ce with.| |000026f0| 20 2a 20 74 68 65 20 4c | 69 63 65 6e 73 65 2e 20 | * the L|icense. | |00002700| 59 6f 75 20 6d 61 79 20 | 6f 62 74 61 69 6e 20 61 |You may |obtain a| |00002710| 20 63 6f 70 79 20 6f 66 | 20 74 68 65 20 4c 69 63 | copy of| the Lic| |00002720| 65 6e 73 65 20 61 74 0a | 20 2a 20 68 74 74 70 3a |ense at.| * http:| |00002730| 2f 2f 77 77 77 2e 6d 6f | 7a 69 6c 6c 61 2e 6f 72 |//www.mo|zilla.or| |00002740| 67 2f 4d 50 4c 2f 0a 20 | 2a 0a 20 2a 20 53 6f 66 |g/MPL/. |*. * Sof| |00002750| 74 77 61 72 65 20 64 69 | 73 74 72 69 62 75 74 65 |tware di|stribute| |00002760| 64 20 75 6e 64 65 72 20 | 74 68 65 20 4c 69 63 65 |d under |the Lice| |00002770| 6e 73 65 20 69 73 20 64 | 69 73 74 72 69 62 75 74 |nse is d|istribut| |00002780| 65 64 20 6f 6e 20 61 6e | 20 22 41 53 20 49 53 22 |ed on an| "AS IS"| |00002790| 20 62 61 73 69 73 2c 0a | 20 2a 20 57 49 54 48 4f | basis,.| * WITHO| |000027a0| 55 54 20 57 41 52 52 41 | 4e 54 59 20 4f 46 20 41 |UT WARRA|NTY OF A| |000027b0| 4e 59 20 4b 49 4e 44 2c | 20 65 69 74 68 65 72 20 |NY KIND,| either | |000027c0| 65 78 70 72 65 73 73 20 | 6f 72 20 69 6d 70 6c 69 |express |or impli| |000027d0| 65 64 2e 20 53 65 65 20 | 74 68 65 20 4c 69 63 65 |ed. See |the Lice| |000027e0| 6e 73 65 0a 20 2a 20 66 | 6f 72 20 74 68 65 20 73 |nse. * f|or the s| |000027f0| 70 65 63 69 66 69 63 20 | 6c 61 6e 67 75 61 67 65 |pecific |language| |00002800| 20 67 6f 76 65 72 6e 69 | 6e 67 20 72 69 67 68 74 | governi|ng right| |00002810| 73 20 61 6e 64 20 6c 69 | 6d 69 74 61 74 69 6f 6e |s and li|mitation| |00002820| 73 20 75 6e 64 65 72 20 | 74 68 65 0a 20 2a 20 4c |s under |the. * L| |00002830| 69 63 65 6e 73 65 2e 0a | 20 2a 0a 20 2a 20 54 68 |icense..| *. * Th| |00002840| 65 20 4f 72 69 67 69 6e | 61 6c 20 43 6f 64 65 20 |e Origin|al Code | |00002850| 69 73 20 54 68 65 20 4a | 61 76 61 53 63 72 69 70 |is The J|avaScrip| |00002860| 74 20 44 65 62 75 67 67 | 65 72 2e 0a 20 2a 0a 20 |t Debugg|er.. *. | |00002870| 2a 20 54 68 65 20 49 6e | 69 74 69 61 6c 20 44 65 |* The In|itial De| |00002880| 76 65 6c 6f 70 65 72 20 | 6f 66 20 74 68 65 20 4f |veloper |of the O| |00002890| 72 69 67 69 6e 61 6c 20 | 43 6f 64 65 20 69 73 0a |riginal |Code is.| |000028a0| 20 2a 20 4e 65 74 73 63 | 61 70 65 20 43 6f 6d 6d | * Netsc|ape Comm| |000028b0| 75 6e 69 63 61 74 69 6f | 6e 73 20 43 6f 72 70 6f |unicatio|ns Corpo| |000028c0| 72 61 74 69 6f 6e 2e 0a | 20 2a 20 50 6f 72 74 69 |ration..| * Porti| |000028d0| 6f 6e 73 20 63 72 65 61 | 74 65 64 20 62 79 20 74 |ons crea|ted by t| |000028e0| 68 65 20 49 6e 69 74 69 | 61 6c 20 44 65 76 65 6c |he Initi|al Devel| |000028f0| 6f 70 65 72 20 61 72 65 | 20 43 6f 70 79 72 69 67 |oper are| Copyrig| |00002900| 68 74 20 28 43 29 20 31 | 39 39 38 0a 20 2a 20 74 |ht (C) 1|998. * t| |00002910| 68 65 20 49 6e 69 74 69 | 61 6c 20 44 65 76 65 6c |he Initi|al Devel| |00002920| 6f 70 65 72 2e 20 41 6c | 6c 20 52 69 67 68 74 73 |oper. Al|l Rights| |00002930| 20 52 65 73 65 72 76 65 | 64 2e 0a 20 2a 0a 20 2a | Reserve|d.. *. *| |00002940| 20 43 6f 6e 74 72 69 62 | 75 74 6f 72 28 73 29 3a | Contrib|utor(s):| |00002950| 0a 20 2a 20 20 20 52 6f | 62 65 72 74 20 47 69 6e |. * Ro|bert Gin| |00002960| 64 61 2c 20 3c 72 67 69 | 6e 64 61 40 6e 65 74 73 |da, <rgi|nda@nets| |00002970| 63 61 70 65 2e 63 6f 6d | 3e 2c 20 6f 72 69 67 69 |cape.com|>, origi| |00002980| 6e 61 6c 20 61 75 74 68 | 6f 72 0a 20 2a 0a 20 2a |nal auth|or. *. *| |00002990| 20 41 6c 74 65 72 6e 61 | 74 69 76 65 6c 79 2c 20 | Alterna|tively, | |000029a0| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |the cont|ents of | |000029b0| 74 68 69 73 20 66 69 6c | 65 20 6d 61 79 20 62 65 |this fil|e may be| |000029c0| 20 75 73 65 64 20 75 6e | 64 65 72 20 74 68 65 20 | used un|der the | |000029d0| 74 65 72 6d 73 20 6f 66 | 0a 20 2a 20 65 69 74 68 |terms of|. * eith| |000029e0| 65 72 20 74 68 65 20 47 | 4e 55 20 47 65 6e 65 72 |er the G|NU Gener| |000029f0| 61 6c 20 50 75 62 6c 69 | 63 20 4c 69 63 65 6e 73 |al Publi|c Licens| |00002a00| 65 20 56 65 72 73 69 6f | 6e 20 32 20 6f 72 20 6c |e Versio|n 2 or l| |00002a10| 61 74 65 72 20 28 74 68 | 65 20 22 47 50 4c 22 29 |ater (th|e "GPL")| |00002a20| 2c 20 6f 72 0a 20 2a 20 | 74 68 65 20 47 4e 55 20 |, or. * |the GNU | |00002a30| 4c 65 73 73 65 72 20 47 | 65 6e 65 72 61 6c 20 50 |Lesser G|eneral P| |00002a40| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 20 56 65 |ublic Li|cense Ve| |00002a50| 72 73 69 6f 6e 20 32 2e | 31 20 6f 72 20 6c 61 74 |rsion 2.|1 or lat| |00002a60| 65 72 20 28 74 68 65 20 | 22 4c 47 50 4c 22 29 2c |er (the |"LGPL"),| |00002a70| 0a 20 2a 20 69 6e 20 77 | 68 69 63 68 20 63 61 73 |. * in w|hich cas| |00002a80| 65 20 74 68 65 20 70 72 | 6f 76 69 73 69 6f 6e 73 |e the pr|ovisions| |00002a90| 20 6f 66 20 74 68 65 20 | 47 50 4c 20 6f 72 20 74 | of the |GPL or t| |00002aa0| 68 65 20 4c 47 50 4c 20 | 61 72 65 20 61 70 70 6c |he LGPL |are appl| |00002ab0| 69 63 61 62 6c 65 20 69 | 6e 73 74 65 61 64 0a 20 |icable i|nstead. | |00002ac0| 2a 20 6f 66 20 74 68 6f | 73 65 20 61 62 6f 76 65 |* of tho|se above| |00002ad0| 2e 20 49 66 20 79 6f 75 | 20 77 69 73 68 20 74 6f |. If you| wish to| |00002ae0| 20 61 6c 6c 6f 77 20 75 | 73 65 20 6f 66 20 79 6f | allow u|se of yo| |00002af0| 75 72 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 74 68 |ur versi|on of th| |00002b00| 69 73 20 66 69 6c 65 20 | 6f 6e 6c 79 0a 20 2a 20 |is file |only. * | |00002b10| 75 6e 64 65 72 20 74 68 | 65 20 74 65 72 6d 73 20 |under th|e terms | |00002b20| 6f 66 20 65 69 74 68 65 | 72 20 74 68 65 20 47 50 |of eithe|r the GP| |00002b30| 4c 20 6f 72 20 74 68 65 | 20 4c 47 50 4c 2c 20 61 |L or the| LGPL, a| |00002b40| 6e 64 20 6e 6f 74 20 74 | 6f 20 61 6c 6c 6f 77 20 |nd not t|o allow | |00002b50| 6f 74 68 65 72 73 20 74 | 6f 0a 20 2a 20 75 73 65 |others t|o. * use| |00002b60| 20 79 6f 75 72 20 76 65 | 72 73 69 6f 6e 20 6f 66 | your ve|rsion of| |00002b70| 20 74 68 69 73 20 66 69 | 6c 65 20 75 6e 64 65 72 | this fi|le under| |00002b80| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 20 74 68 | the ter|ms of th| |00002b90| 65 20 4d 50 4c 2c 20 69 | 6e 64 69 63 61 74 65 20 |e MPL, i|ndicate | |00002ba0| 79 6f 75 72 0a 20 2a 20 | 64 65 63 69 73 69 6f 6e |your. * |decision| |00002bb0| 20 62 79 20 64 65 6c 65 | 74 69 6e 67 20 74 68 65 | by dele|ting the| |00002bc0| 20 70 72 6f 76 69 73 69 | 6f 6e 73 20 61 62 6f 76 | provisi|ons abov| |00002bd0| 65 20 61 6e 64 20 72 65 | 70 6c 61 63 65 20 74 68 |e and re|place th| |00002be0| 65 6d 20 77 69 74 68 20 | 74 68 65 20 6e 6f 74 69 |em with |the noti| |00002bf0| 63 65 0a 20 2a 20 61 6e | 64 20 6f 74 68 65 72 20 |ce. * an|d other | |00002c00| 70 72 6f 76 69 73 69 6f | 6e 73 20 72 65 71 75 69 |provisio|ns requi| |00002c10| 72 65 64 20 62 79 20 74 | 68 65 20 47 50 4c 20 6f |red by t|he GPL o| |00002c20| 72 20 74 68 65 20 4c 47 | 50 4c 2e 20 49 66 20 79 |r the LG|PL. If y| |00002c30| 6f 75 20 64 6f 20 6e 6f | 74 20 64 65 6c 65 74 65 |ou do no|t delete| |00002c40| 0a 20 2a 20 74 68 65 20 | 70 72 6f 76 69 73 69 6f |. * the |provisio| |00002c50| 6e 73 20 61 62 6f 76 65 | 2c 20 61 20 72 65 63 69 |ns above|, a reci| |00002c60| 70 69 65 6e 74 20 6d 61 | 79 20 75 73 65 20 79 6f |pient ma|y use yo| |00002c70| 75 72 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 74 68 |ur versi|on of th| |00002c80| 69 73 20 66 69 6c 65 20 | 75 6e 64 65 72 0a 20 2a |is file |under. *| |00002c90| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 20 61 6e | the ter|ms of an| |00002ca0| 79 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 4d 50 4c |y one of| the MPL| |00002cb0| 2c 20 74 68 65 20 47 50 | 4c 20 6f 72 20 74 68 65 |, the GP|L or the| |00002cc0| 20 4c 47 50 4c 2e 0a 20 | 2a 0a 20 2a 20 2a 2a 2a | LGPL.. |*. * ***| |00002cd0| 2a 2a 20 45 4e 44 20 4c | 49 43 45 4e 53 45 20 42 |** END L|ICENSE B| |00002ce0| 4c 4f 43 4b 20 2a 2a 2a | 2a 2a 20 2a 2f 0a 0a 2f |LOCK ***|** */../| |00002cf0| 2a 0a 20 2a 20 42 61 73 | 69 63 4f 56 69 65 77 20 |*. * Bas|icOView | |00002d00| 70 72 6f 76 69 64 65 73 | 20 66 75 6e 63 74 69 6f |provides| functio| |00002d10| 6e 61 6c 69 74 79 20 6f | 66 20 74 72 65 65 20 77 |nality o|f tree w| |00002d20| 68 6f 73 65 20 65 6c 65 | 6d 65 6e 74 73 20 68 61 |hose ele|ments ha| |00002d30| 76 65 20 6e 6f 20 63 68 | 69 6c 64 72 65 6e 2e 0a |ve no ch|ildren..| |00002d40| 20 2a 20 55 73 61 67 65 | 3a 0a 20 2a 20 76 61 72 | * Usage|:. * var| |00002d50| 20 6d 79 54 72 65 65 20 | 3d 20 6e 65 77 20 42 61 | myTree |= new Ba| |00002d60| 73 69 63 4f 56 69 65 77 | 28 29 0a 20 2a 20 6d 79 |sicOView|(). * my| |00002d70| 54 72 65 65 2e 73 65 74 | 43 6f 6c 75 6d 6e 4e 61 |Tree.set|ColumnNa| |00002d80| 6d 65 73 20 28 5b 22 63 | 6f 6c 20 31 22 2c 20 22 |mes (["c|ol 1", "| |00002d90| 63 6f 6c 20 32 22 5d 29 | 3b 0a 20 2a 20 6d 79 54 |col 2"])|;. * myT| |00002da0| 72 65 65 2e 64 61 74 61 | 20 3d 20 5b 5b 22 72 6f |ree.data| = [["ro| |00002db0| 77 20 31 2c 20 63 6f 6c | 20 31 22 2c 20 22 72 6f |w 1, col| 1", "ro| |00002dc0| 77 20 31 2c 20 63 6f 6c | 20 32 22 5d 2c 0a 20 2a |w 1, col| 2"],. *| |00002dd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00002de0| 20 20 20 20 5b 22 72 6f | 77 20 32 2c 20 63 6f 6c | ["ro|w 2, col| |00002df0| 20 31 22 2c 20 22 72 6f | 77 20 32 2c 20 63 6f 6c | 1", "ro|w 2, col| |00002e00| 20 32 22 5d 5d 3b 0a 20 | 2a 20 7b 20 6f 76 65 72 | 2"]];. |* { over| |00002e10| 72 69 64 65 20 67 65 74 | 2a 50 72 6f 70 65 72 74 |ride get|*Propert| |00002e20| 69 65 73 2c 20 65 74 63 | 2c 20 61 73 20 73 75 69 |ies, etc|, as sui| |00002e30| 74 73 20 79 6f 75 72 20 | 70 75 72 70 6f 73 65 2e |ts your |purpose.| |00002e40| 20 7d 0a 20 2a 0a 20 2a | 20 74 72 65 65 42 6f 78 | }. *. *| treeBox| |00002e50| 4f 62 6a 65 63 74 2e 76 | 69 65 77 20 3d 20 6d 79 |Object.v|iew = my| |00002e60| 54 72 65 65 3b 0a 20 2a | 20 0a 20 2a 20 59 6f 75 |Tree;. *| . * You| |00002e70| 27 6c 6c 20 6e 65 65 64 | 20 74 6f 20 6d 61 6b 65 |'ll need| to make| |00002e80| 20 74 68 65 20 61 70 70 | 72 6f 70 72 69 61 74 65 | the app|ropriate| |00002e90| 20 6d 79 54 72 65 65 2e | 74 72 65 65 2e 69 6e 76 | myTree.|tree.inv| |00002ea0| 61 6c 69 64 61 74 65 20 | 63 61 6c 6c 73 0a 20 2a |alidate |calls. *| |00002eb0| 20 77 68 65 6e 20 6d 79 | 54 72 65 65 2e 64 61 74 | when my|Tree.dat| |00002ec0| 61 20 63 68 61 6e 67 65 | 73 2e 0a 20 2a 2f 0a 0a |a change|s.. */..| |00002ed0| 66 75 6e 63 74 69 6f 6e | 20 42 61 73 69 63 4f 56 |function| BasicOV| |00002ee0| 69 65 77 28 29 0a 7b 7d | 0a 0a 2f 2a 20 66 75 6e |iew().{}|../* fun| |00002ef0| 63 74 69 6f 6e 73 20 2a | 79 6f 75 2a 20 73 68 6f |ctions *|you* sho| |00002f00| 75 6c 64 20 63 61 6c 6c | 20 74 6f 20 69 6e 69 74 |uld call| to init| |00002f10| 69 61 6c 69 7a 65 20 61 | 6e 64 20 6d 61 69 6e 74 |ialize a|nd maint| |00002f20| 61 69 6e 20 74 68 65 20 | 74 72 65 65 20 73 74 61 |ain the |tree sta| |00002f30| 74 65 20 2a 2f 0a 0a 2f | 2a 20 73 63 72 6f 6c 6c |te */../|* scroll| |00002f40| 20 74 68 65 20 6c 69 6e | 65 20 73 70 65 63 69 66 | the lin|e specif| |00002f50| 69 65 64 20 62 79 20 7c | 6c 69 6e 65 7c 20 74 6f |ied by ||line| to| |00002f60| 20 74 68 65 20 63 65 6e | 74 65 72 20 6f 66 20 74 | the cen|ter of t| |00002f70| 68 65 20 74 72 65 65 20 | 2a 2f 0a 42 61 73 69 63 |he tree |*/.Basic| |00002f80| 4f 56 69 65 77 2e 70 72 | 6f 74 6f 74 79 70 65 2e |OView.pr|ototype.| |00002f90| 63 65 6e 74 65 72 4c 69 | 6e 65 20 3d 0a 66 75 6e |centerLi|ne =.fun| |00002fa0| 63 74 69 6f 6e 20 62 6f | 76 5f 63 74 72 6c 6e 20 |ction bo|v_ctrln | |00002fb0| 28 6c 69 6e 65 29 0a 7b | 0a 20 20 20 20 76 61 72 |(line).{|. var| |00002fc0| 20 66 69 72 73 74 20 3d | 20 74 68 69 73 2e 74 72 | first =| this.tr| |00002fd0| 65 65 2e 67 65 74 46 69 | 72 73 74 56 69 73 69 62 |ee.getFi|rstVisib| |00002fe0| 6c 65 52 6f 77 28 29 3b | 0a 20 20 20 20 76 61 72 |leRow();|. var| |00002ff0| 20 6c 61 73 74 20 3d 20 | 74 68 69 73 2e 74 72 65 | last = |this.tre| |00003000| 65 2e 67 65 74 4c 61 73 | 74 56 69 73 69 62 6c 65 |e.getLas|tVisible| |00003010| 52 6f 77 28 29 3b 0a 20 | 20 20 20 74 68 69 73 2e |Row();. | this.| |00003020| 73 63 72 6f 6c 6c 54 6f | 52 6f 77 28 6c 69 6e 65 |scrollTo|Row(line| |00003030| 20 2d 20 74 6f 74 61 6c | 20 2f 20 32 29 3b 0a 7d | - total| / 2);.}| |00003040| 0a 0a 2f 2a 20 63 61 6c | 6c 20 74 68 69 73 20 74 |../* cal|l this t| |00003050| 6f 20 73 65 74 20 74 68 | 65 20 61 73 73 6f 63 69 |o set th|e associ| |00003060| 61 74 69 6f 6e 20 62 65 | 74 77 65 65 6e 20 63 6f |ation be|tween co| |00003070| 6c 75 6d 6e 20 6e 61 6d | 65 73 20 61 6e 64 20 64 |lumn nam|es and d| |00003080| 61 74 61 20 63 6f 6c 75 | 6d 6e 73 20 2a 2f 0a 42 |ata colu|mns */.B| |00003090| 61 73 69 63 4f 56 69 65 | 77 2e 70 72 6f 74 6f 74 |asicOVie|w.protot| |000030a0| 79 70 65 2e 73 65 74 43 | 6f 6c 75 6d 6e 4e 61 6d |ype.setC|olumnNam| |000030b0| 65 73 20 3d 0a 66 75 6e | 63 74 69 6f 6e 20 62 6f |es =.fun|ction bo| |000030c0| 76 5f 73 65 74 63 6e 20 | 28 61 72 79 4e 61 6d 65 |v_setcn |(aryName| |000030d0| 73 29 0a 7b 0a 20 20 20 | 20 74 68 69 73 2e 63 6f |s).{. | this.co| |000030e0| 6c 75 6d 6e 4e 61 6d 65 | 73 20 3d 20 6e 65 77 20 |lumnName|s = new | |000030f0| 4f 62 6a 65 63 74 28 29 | 3b 0a 20 20 20 20 66 6f |Object()|;. fo| |00003100| 72 20 28 76 61 72 20 69 | 20 3d 20 30 3b 20 69 20 |r (var i| = 0; i | |00003110| 3c 20 61 72 79 4e 61 6d | 65 73 2e 6c 65 6e 67 74 |< aryNam|es.lengt| |00003120| 68 3b 20 2b 2b 69 29 0a | 20 20 20 20 20 20 20 20 |h; ++i).| | |00003130| 74 68 69 73 2e 63 6f 6c | 75 6d 6e 4e 61 6d 65 73 |this.col|umnNames| |00003140| 5b 61 72 79 4e 61 6d 65 | 73 5b 69 5d 5d 20 3d 20 |[aryName|s[i]] = | |00003150| 69 3b 0a 7d 0a 0a 2f 2a | 0a 20 2a 20 73 63 72 6f |i;.}../*|. * scro| |00003160| 6c 6c 20 74 68 65 20 73 | 6f 75 72 63 65 20 73 6f |ll the s|ource so| |00003170| 20 7c 6c 69 6e 65 7c 20 | 69 73 20 61 74 20 65 69 | |line| |is at ei| |00003180| 74 68 65 72 20 74 68 65 | 20 74 6f 70 2c 20 63 65 |ther the| top, ce| |00003190| 6e 74 65 72 2c 20 6f 72 | 20 62 6f 74 74 6f 6d 0a |nter, or| bottom.| |000031a0| 20 2a 20 6f 66 20 74 68 | 65 20 76 69 65 77 2c 20 | * of th|e view, | |000031b0| 64 65 6c 65 70 64 69 6e | 67 20 6f 6e 20 74 68 65 |delepdin|g on the| |000031c0| 20 76 61 6c 75 65 20 6f | 66 20 7c 61 6c 69 67 6e | value o|f |align| |000031d0| 7c 2e 0a 20 2a 0a 20 2a | 20 6c 69 6e 65 20 69 73 ||.. *. *| line is| |000031e0| 20 74 68 65 20 6f 6e 65 | 20 62 61 73 65 64 20 74 | the one| based t| |000031f0| 61 72 67 65 74 20 6c 69 | 6e 65 2e 0a 20 2a 20 69 |arget li|ne.. * i| |00003200| 66 20 61 6c 69 67 6e 20 | 69 73 20 6e 65 67 61 74 |f align |is negat| |00003210| 69 76 65 2c 20 74 68 65 | 20 6c 69 6e 65 20 77 69 |ive, the| line wi| |00003220| 6c 6c 20 62 65 20 73 63 | 72 6f 6c 6c 65 64 20 74 |ll be sc|rolled t| |00003230| 6f 20 74 68 65 20 74 6f | 70 2c 20 69 66 20 61 6c |o the to|p, if al| |00003240| 69 67 6e 20 69 73 0a 20 | 2a 20 7a 65 72 6f 20 74 |ign is. |* zero t| |00003250| 68 65 20 6c 69 6e 65 20 | 77 69 6c 6c 20 62 65 20 |he line |will be | |00003260| 63 65 6e 74 65 72 65 64 | 2c 20 61 6e 64 20 69 66 |centered|, and if| |00003270| 20 61 6c 69 67 6e 20 69 | 73 20 67 72 65 61 74 65 | align i|s greate| |00003280| 72 20 74 68 61 6e 20 30 | 20 74 68 65 20 6c 69 6e |r than 0| the lin| |00003290| 65 0a 20 2a 20 77 69 6c | 6c 20 62 65 20 73 63 72 |e. * wil|l be scr| |000032a0| 6f 6c 6c 65 64 20 74 6f | 20 74 68 65 20 62 6f 74 |olled to| the bot| |000032b0| 74 6f 6d 2e 20 20 30 20 | 69 73 20 74 68 65 20 64 |tom. 0 |is the d| |000032c0| 65 66 61 75 6c 74 2e 0a | 20 2a 2f 0a 42 61 73 69 |efault..| */.Basi| |000032d0| 63 4f 56 69 65 77 2e 70 | 72 6f 74 6f 74 79 70 65 |cOView.p|rototype| |000032e0| 2e 73 63 72 6f 6c 6c 54 | 6f 20 3d 0a 66 75 6e 63 |.scrollT|o =.func| |000032f0| 74 69 6f 6e 20 62 6f 76 | 5f 73 63 72 6f 6c 6c 74 |tion bov|_scrollt| |00003300| 6f 20 28 6c 69 6e 65 2c | 20 61 6c 69 67 6e 29 0a |o (line,| align).| |00003310| 7b 0a 20 20 20 20 76 61 | 72 20 68 65 61 64 65 72 |{. va|r header| |00003320| 52 6f 77 73 20 3d 20 31 | 3b 0a 20 20 20 20 0a 20 |Rows = 1|;. . | |00003330| 20 20 20 76 61 72 20 66 | 69 72 73 74 20 3d 20 74 | var f|irst = t| |00003340| 68 69 73 2e 74 72 65 65 | 2e 67 65 74 46 69 72 73 |his.tree|.getFirs| |00003350| 74 56 69 73 69 62 6c 65 | 52 6f 77 28 29 3b 0a 20 |tVisible|Row();. | |00003360| 20 20 20 76 61 72 20 6c | 61 73 74 20 20 3d 20 74 | var l|ast = t| |00003370| 68 69 73 2e 74 72 65 65 | 2e 67 65 74 4c 61 73 74 |his.tree|.getLast| |00003380| 56 69 73 69 62 6c 65 52 | 6f 77 28 29 3b 0a 20 20 |VisibleR|ow();. | |00003390| 20 20 76 61 72 20 76 69 | 7a 20 20 20 3d 20 6c 61 | var vi|z = la| |000033a0| 73 74 20 2d 20 66 69 72 | 73 74 20 2d 20 68 65 61 |st - fir|st - hea| |000033b0| 64 65 72 52 6f 77 73 3b | 20 2f 2a 20 74 6f 74 61 |derRows;| /* tota| |000033c0| 6c 20 6e 75 6d 62 65 72 | 20 6f 66 20 76 69 73 69 |l number| of visi| |000033d0| 62 6c 65 20 72 6f 77 73 | 20 2a 2f 0a 0a 20 20 20 |ble rows| */.. | |000033e0| 20 2f 2a 20 61 6c 6c 20 | 72 6f 77 73 20 61 72 65 | /* all |rows are| |000033f0| 20 76 69 73 69 62 6c 65 | 2c 20 6e 6f 74 68 69 6e | visible|, nothin| |00003400| 67 20 74 6f 20 73 63 72 | 6f 6c 6c 20 2a 2f 0a 20 |g to scr|oll */. | |00003410| 20 20 20 69 66 20 28 66 | 69 72 73 74 20 3d 3d 20 | if (f|irst == | |00003420| 30 20 26 26 20 6c 61 73 | 74 20 3e 20 74 68 69 73 |0 && las|t > this| |00003430| 2e 72 6f 77 43 6f 75 6e | 74 29 0a 20 20 20 20 7b |.rowCoun|t). {| |00003440| 0a 20 20 20 20 20 20 20 | 20 64 64 20 28 22 73 63 |. | dd ("sc| |00003450| 72 6f 6c 6c 54 6f 3a 20 | 76 69 65 77 20 64 6f 65 |rollTo: |view doe| |00003460| 73 20 6e 6f 74 20 6f 76 | 65 72 66 6c 6f 77 22 29 |s not ov|erflow")| |00003470| 3b 0a 20 20 20 20 20 20 | 20 20 72 65 74 75 72 6e |;. | return| |00003480| 3b 0a 20 20 20 20 7d 0a | 20 20 20 20 0a 20 20 20 |;. }.| . | |00003490| 20 2f 2a 20 74 72 65 65 | 20 6c 69 6e 65 73 20 61 | /* tree| lines a| |000034a0| 72 65 20 30 20 62 61 73 | 65 64 2c 20 77 65 20 61 |re 0 bas|ed, we a| |000034b0| 63 63 65 70 74 20 6f 6e | 65 20 62 61 73 65 64 20 |ccept on|e based | |000034c0| 6c 69 6e 65 73 2c 20 64 | 65 61 6c 20 77 69 74 68 |lines, d|eal with| |000034d0| 20 69 74 20 2a 2f 0a 20 | 20 20 20 2d 2d 6c 69 6e | it */. | --lin| |000034e0| 65 3b 0a 0a 20 20 20 20 | 2f 2a 20 73 61 66 65 74 |e;.. |/* safet| |000034f0| 79 20 63 6c 61 6d 70 20 | 2a 2f 0a 20 20 20 20 69 |y clamp |*/. i| |00003500| 66 20 28 6c 69 6e 65 20 | 3c 20 30 29 0a 20 20 20 |f (line |< 0). | |00003510| 20 20 20 20 20 6c 69 6e | 65 20 3d 20 30 3b 0a 20 | lin|e = 0;. | |00003520| 20 20 20 69 66 20 28 6c | 69 6e 65 20 3e 20 74 68 | if (l|ine > th| |00003530| 69 73 2e 72 6f 77 43 6f | 75 6e 74 29 0a 20 20 20 |is.rowCo|unt). | |00003540| 20 20 20 20 20 6c 69 6e | 65 20 3d 20 74 68 69 73 | lin|e = this| |00003550| 2e 72 6f 77 43 6f 75 6e | 74 3b 20 20 20 20 0a 0a |.rowCoun|t; ..| |00003560| 20 20 20 20 69 66 20 28 | 61 6c 69 67 6e 20 3c 20 | if (|align < | |00003570| 30 29 0a 20 20 20 20 7b | 0a 20 20 20 20 20 20 20 |0). {|. | |00003580| 20 69 66 20 28 6c 69 6e | 65 20 3e 20 74 68 69 73 | if (lin|e > this| |00003590| 2e 72 6f 77 43 6f 75 6e | 74 20 2d 20 76 69 7a 29 |.rowCoun|t - viz)| |000035a0| 20 2f 2a 20 6f 76 65 72 | 73 63 72 6f 6c 6c 2c 20 | /* over|scroll, | |000035b0| 63 61 6e 27 74 20 70 75 | 74 20 61 20 72 6f 77 20 |can't pu|t a row | |000035c0| 66 72 6f 6d 20 2a 2f 0a | 20 20 20 20 20 20 20 20 |from */.| | |000035d0| 20 20 20 20 6c 69 6e 65 | 20 3d 20 74 68 69 73 2e | line| = this.| |000035e0| 72 6f 77 43 6f 75 6e 74 | 20 2d 20 76 69 7a 3b 20 |rowCount| - viz; | |000035f0| 2f 2a 20 6c 61 73 74 20 | 70 61 67 65 20 61 74 20 |/* last |page at | |00003600| 74 68 65 20 74 6f 70 2e | 20 2a 2f 0a 20 20 20 20 |the top.| */. | |00003610| 20 20 20 20 74 68 69 73 | 2e 74 72 65 65 2e 73 63 | this|.tree.sc| |00003620| 72 6f 6c 6c 54 6f 52 6f | 77 28 6c 69 6e 65 29 3b |rollToRo|w(line);| |00003630| 0a 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 3b |. | return;| |00003640| 0a 20 20 20 20 7d 0a 20 | 20 20 20 65 6c 73 65 20 |. }. | else | |00003650| 69 66 20 28 61 6c 69 67 | 6e 20 3e 20 30 29 0a 20 |if (alig|n > 0). | |00003660| 20 20 20 7b 0a 20 20 20 | 20 20 20 20 20 69 66 20 | {. | if | |00003670| 28 6c 69 6e 65 20 3c 20 | 76 69 7a 29 20 2f 2a 20 |(line < |viz) /* | |00003680| 75 6e 64 65 72 73 63 72 | 6f 6c 6c 2c 20 63 61 6e |underscr|oll, can| |00003690| 27 74 20 70 75 74 20 61 | 20 72 6f 77 20 66 72 6f |'t put a| row fro| |000036a0| 6d 20 74 68 65 20 66 69 | 72 73 74 20 70 61 67 65 |m the fi|rst page| |000036b0| 20 61 74 20 2a 2f 0a 20 | 20 20 20 20 20 20 20 20 | at */. | | |000036c0| 20 20 20 6c 69 6e 65 20 | 3d 20 30 3b 20 20 20 2f | line |= 0; /| |000036d0| 2a 20 74 68 65 20 62 6f | 74 74 6f 6d 2e 20 2a 2f |* the bo|ttom. */| |000036e0| 0a 20 20 20 20 20 20 20 | 20 65 6c 73 65 0a 20 20 |. | else. | |000036f0| 20 20 20 20 20 20 20 20 | 20 20 6c 69 6e 65 20 3d | | line =| |00003700| 20 6c 69 6e 65 20 2d 20 | 74 6f 74 61 6c 5f 76 69 | line - |total_vi| |00003710| 7a 20 2b 20 68 65 61 64 | 65 72 52 6f 77 73 3b 0a |z + head|erRows;.| |00003720| 20 20 20 20 20 20 20 20 | 0a 20 20 20 20 20 20 20 | |. | |00003730| 20 74 68 69 73 2e 74 72 | 65 65 2e 73 63 72 6f 6c | this.tr|ee.scrol| |00003740| 6c 54 6f 52 6f 77 28 6c | 69 6e 65 29 3b 0a 20 20 |lToRow(l|ine);. | |00003750| 20 20 7d 0a 20 20 20 20 | 65 6c 73 65 0a 20 20 20 | }. |else. | |00003760| 20 7b 0a 20 20 20 20 20 | 20 20 20 76 61 72 20 68 | {. | var h| |00003770| 61 6c 66 5f 76 69 7a 20 | 3d 20 76 69 7a 20 2f 20 |alf_viz |= viz / | |00003780| 32 3b 0a 20 20 20 20 20 | 20 20 20 2f 2a 20 6c 69 |2;. | /* li| |00003790| 6e 65 73 20 70 61 73 74 | 20 74 68 69 73 20 6c 69 |nes past| this li| |000037a0| 6e 65 20 63 61 6e 27 74 | 20 62 65 20 63 65 6e 74 |ne can't| be cent| |000037b0| 65 72 65 64 20 77 69 74 | 68 6f 75 74 20 63 61 75 |ered wit|hout cau| |000037c0| 73 69 6e 67 20 74 68 65 | 20 74 72 65 65 0a 20 20 |sing the| tree. | |000037d0| 20 20 20 20 20 20 20 2a | 20 74 6f 20 73 68 6f 77 | *| to show| |000037e0| 20 6d 6f 72 65 20 72 6f | 77 73 20 74 68 61 6e 20 | more ro|ws than | |000037f0| 77 65 20 68 61 76 65 2e | 20 2a 2f 0a 20 20 20 20 |we have.| */. | |00003800| 20 20 20 20 76 61 72 20 | 6c 61 73 74 43 65 6e 74 | var |lastCent| |00003810| 65 72 61 62 6c 65 20 3d | 20 74 68 69 73 2e 72 6f |erable =| this.ro| |00003820| 77 43 6f 75 6e 74 20 2d | 20 68 61 6c 66 5f 76 69 |wCount -| half_vi| |00003830| 7a 3b 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 6c |z;. | if (l| |00003840| 69 6e 65 20 3e 20 6c 61 | 73 74 43 65 6e 74 65 72 |ine > la|stCenter| |00003850| 61 62 6c 65 29 0a 20 20 | 20 20 20 20 20 20 20 20 |able). | | |00003860| 20 20 6c 69 6e 65 20 3d | 20 6c 61 73 74 43 65 6e | line =| lastCen| |00003870| 74 65 72 61 62 6c 65 3b | 0a 20 20 20 20 20 20 20 |terable;|. | |00003880| 20 2f 2a 20 6c 69 6e 65 | 73 20 62 65 66 6f 72 65 | /* line|s before| |00003890| 20 74 68 69 73 20 63 61 | 6e 27 74 20 62 65 20 63 | this ca|n't be c| |000038a0| 65 6e 74 65 72 65 64 20 | 77 69 74 68 6f 75 74 20 |entered |without | |000038b0| 63 61 75 73 69 6e 67 20 | 74 68 65 20 74 72 65 65 |causing |the tree| |000038c0| 0a 20 20 20 20 20 20 20 | 20 20 2a 20 74 6f 20 61 |. | * to a| |000038d0| 74 74 65 6d 70 74 20 74 | 6f 20 64 69 73 70 6c 61 |ttempt t|o displa| |000038e0| 79 20 6e 65 67 61 74 69 | 76 65 20 72 6f 77 73 2e |y negati|ve rows.| |000038f0| 20 2a 2f 0a 20 20 20 20 | 20 20 20 20 65 6c 73 65 | */. | else| |00003900| 20 69 66 20 28 6c 69 6e | 65 20 3c 20 68 61 6c 66 | if (lin|e < half| |00003910| 5f 76 69 7a 29 0a 20 20 | 20 20 20 20 20 20 20 20 |_viz). | | |00003920| 20 20 6c 69 6e 65 20 3d | 20 68 61 6c 66 5f 76 69 | line =| half_vi| |00003930| 7a 3b 0a 20 20 20 20 20 | 20 20 20 74 68 69 73 2e |z;. | this.| |00003940| 74 72 65 65 2e 73 63 72 | 6f 6c 6c 54 6f 52 6f 77 |tree.scr|ollToRow| |00003950| 28 6c 69 6e 65 20 2d 20 | 68 61 6c 66 5f 76 69 7a |(line - |half_viz| |00003960| 29 3b 0a 20 20 20 20 7d | 20 20 20 20 20 20 20 20 |);. }| | |00003970| 20 20 20 20 20 20 20 20 | 20 20 20 20 0a 7d 20 20 | | .} | |00003980| 20 20 20 20 20 0a 0a 2f | 2a 0a 20 2a 20 66 75 6e | ../|*. * fun| |00003990| 63 74 69 6f 6e 73 20 74 | 68 65 20 74 72 65 65 20 |ctions t|he tree | |000039a0| 77 69 6c 6c 20 63 61 6c | 6c 20 74 6f 20 72 65 74 |will cal|l to ret| |000039b0| 72 69 65 76 65 20 74 68 | 65 20 6c 69 73 74 20 73 |rieve th|e list s| |000039c0| 74 61 74 65 20 28 6e 73 | 49 54 72 65 65 56 69 65 |tate (ns|ITreeVie| |000039d0| 77 2e 29 0a 20 2a 2f 0a | 0a 42 61 73 69 63 4f 56 |w.). */.|.BasicOV| |000039e0| 69 65 77 2e 70 72 6f 74 | 6f 74 79 70 65 2e 72 6f |iew.prot|otype.ro| |000039f0| 77 43 6f 75 6e 74 20 3d | 20 30 3b 0a 0a 42 61 73 |wCount =| 0;..Bas| |00003a00| 69 63 4f 56 69 65 77 2e | 70 72 6f 74 6f 74 79 70 |icOView.|prototyp| |00003a10| 65 2e 73 65 6c 65 63 74 | 69 6f 6e 20 3d 20 6e 75 |e.select|ion = nu| |00003a20| 6c 6c 3b 0a 0a 42 61 73 | 69 63 4f 56 69 65 77 2e |ll;..Bas|icOView.| |00003a30| 70 72 6f 74 6f 74 79 70 | 65 2e 67 65 74 43 65 6c |prototyp|e.getCel| |00003a40| 6c 50 72 6f 70 65 72 74 | 69 65 73 20 3d 0a 66 75 |lPropert|ies =.fu| |00003a50| 6e 63 74 69 6f 6e 20 62 | 6f 76 5f 63 65 6c 6c 70 |nction b|ov_cellp| |00003a60| 72 6f 70 73 20 28 72 6f | 77 2c 20 63 6f 6c 2c 20 |rops (ro|w, col, | |00003a70| 70 72 6f 70 65 72 74 69 | 65 73 29 0a 7b 7d 0a 0a |properti|es).{}..| |00003a80| 42 61 73 69 63 4f 56 69 | 65 77 2e 70 72 6f 74 6f |BasicOVi|ew.proto| |00003a90| 74 79 70 65 2e 67 65 74 | 43 6f 6c 75 6d 6e 50 72 |type.get|ColumnPr| |00003aa0| 6f 70 65 72 74 69 65 73 | 20 3d 0a 66 75 6e 63 74 |operties| =.funct| |00003ab0| 69 6f 6e 20 62 6f 76 5f | 63 6f 6c 70 72 6f 70 73 |ion bov_|colprops| |00003ac0| 20 28 63 6f 6c 2c 20 70 | 72 6f 70 65 72 74 69 65 | (col, p|ropertie| |00003ad0| 73 29 0a 7b 7d 0a 0a 42 | 61 73 69 63 4f 56 69 65 |s).{}..B|asicOVie| |00003ae0| 77 2e 70 72 6f 74 6f 74 | 79 70 65 2e 67 65 74 52 |w.protot|ype.getR| |00003af0| 6f 77 50 72 6f 70 65 72 | 74 69 65 73 20 3d 0a 66 |owProper|ties =.f| |00003b00| 75 6e 63 74 69 6f 6e 20 | 62 6f 76 5f 72 6f 77 70 |unction |bov_rowp| |00003b10| 72 6f 70 73 20 28 69 6e | 64 65 78 2c 20 70 72 6f |rops (in|dex, pro| |00003b20| 70 65 72 74 69 65 73 29 | 0a 7b 7d 0a 0a 42 61 73 |perties)|.{}..Bas| |00003b30| 69 63 4f 56 69 65 77 2e | 70 72 6f 74 6f 74 79 70 |icOView.|prototyp| |00003b40| 65 2e 69 73 43 6f 6e 74 | 61 69 6e 65 72 20 3d 0a |e.isCont|ainer =.| |00003b50| 66 75 6e 63 74 69 6f 6e | 20 62 6f 76 5f 69 73 63 |function| bov_isc| |00003b60| 74 72 20 28 69 6e 64 65 | 78 29 0a 7b 0a 20 20 20 |tr (inde|x).{. | |00003b70| 20 72 65 74 75 72 6e 20 | 66 61 6c 73 65 3b 0a 7d | return |false;.}| |00003b80| 0a 0a 42 61 73 69 63 4f | 56 69 65 77 2e 70 72 6f |..BasicO|View.pro| |00003b90| 74 6f 74 79 70 65 2e 69 | 73 43 6f 6e 74 61 69 6e |totype.i|sContain| |00003ba0| 65 72 4f 70 65 6e 20 3d | 0a 66 75 6e 63 74 69 6f |erOpen =|.functio| |00003bb0| 6e 20 62 6f 76 5f 69 73 | 63 74 72 6f 70 65 6e 20 |n bov_is|ctropen | |00003bc0| 28 69 6e 64 65 78 29 0a | 7b 0a 20 20 20 20 72 65 |(index).|{. re| |00003bd0| 74 75 72 6e 20 66 61 6c | 73 65 3b 0a 7d 0a 0a 42 |turn fal|se;.}..B| |00003be0| 61 73 69 63 4f 56 69 65 | 77 2e 70 72 6f 74 6f 74 |asicOVie|w.protot| |00003bf0| 79 70 65 2e 69 73 43 6f | 6e 74 61 69 6e 65 72 45 |ype.isCo|ntainerE| |00003c00| 6d 70 74 79 20 3d 0a 66 | 75 6e 63 74 69 6f 6e 20 |mpty =.f|unction | |00003c10| 62 6f 76 5f 69 73 63 74 | 72 65 6d 70 74 20 28 69 |bov_isct|rempt (i| |00003c20| 6e 64 65 78 29 0a 7b 0a | 20 20 20 20 72 65 74 75 |ndex).{.| retu| |00003c30| 72 6e 20 66 61 6c 73 65 | 3b 0a 7d 0a 0a 42 61 73 |rn false|;.}..Bas| |00003c40| 69 63 4f 56 69 65 77 2e | 70 72 6f 74 6f 74 79 70 |icOView.|prototyp| |00003c50| 65 2e 69 73 53 65 70 61 | 72 61 74 6f 72 20 3d 0a |e.isSepa|rator =.| |00003c60| 66 75 6e 63 74 69 6f 6e | 20 62 6f 76 5f 69 73 63 |function| bov_isc| |00003c70| 6f 6e 74 61 69 6e 65 72 | 20 28 69 6e 64 65 78 29 |ontainer| (index)| |00003c80| 0a 7b 0a 20 20 20 20 72 | 65 74 75 72 6e 20 66 61 |.{. r|eturn fa| |00003c90| 6c 73 65 3b 0a 7d 0a 0a | 42 61 73 69 63 4f 56 69 |lse;.}..|BasicOVi| |00003ca0| 65 77 2e 70 72 6f 74 6f | 74 79 70 65 2e 69 73 53 |ew.proto|type.isS| |00003cb0| 6f 72 74 65 64 20 3d 0a | 66 75 6e 63 74 69 6f 6e |orted =.|function| |00003cc0| 20 62 6f 76 5f 69 73 73 | 6f 72 74 65 64 20 28 69 | bov_iss|orted (i| |00003cd0| 6e 64 65 78 29 0a 7b 0a | 20 20 20 20 72 65 74 75 |ndex).{.| retu| |00003ce0| 72 6e 20 66 61 6c 73 65 | 3b 0a 7d 0a 0a 42 61 73 |rn false|;.}..Bas| |00003cf0| 69 63 4f 56 69 65 77 2e | 70 72 6f 74 6f 74 79 70 |icOView.|prototyp| |00003d00| 65 2e 63 61 6e 44 72 6f | 70 20 3d 0a 66 75 6e 63 |e.canDro|p =.func| |00003d10| 74 69 6f 6e 20 62 6f 76 | 5f 64 72 6f 70 20 28 69 |tion bov|_drop (i| |00003d20| 6e 64 65 78 2c 20 6f 72 | 69 65 6e 74 61 74 69 6f |ndex, or|ientatio| |00003d30| 6e 29 0a 7b 0a 20 20 20 | 20 72 65 74 75 72 6e 20 |n).{. | return | |00003d40| 66 61 6c 73 65 3b 0a 7d | 0a 0a 42 61 73 69 63 4f |false;.}|..BasicO| |00003d50| 56 69 65 77 2e 70 72 6f | 74 6f 74 79 70 65 2e 64 |View.pro|totype.d| |00003d60| 72 6f 70 20 3d 0a 66 75 | 6e 63 74 69 6f 6e 20 62 |rop =.fu|nction b| |00003d70| 6f 76 5f 64 72 6f 70 20 | 28 69 6e 64 65 78 2c 20 |ov_drop |(index, | |00003d80| 6f 72 69 65 6e 74 61 74 | 69 6f 6e 29 0a 7b 0a 20 |orientat|ion).{. | |00003d90| 20 20 20 72 65 74 75 72 | 6e 20 66 61 6c 73 65 3b | retur|n false;| |00003da0| 0a 7d 0a 0a 42 61 73 69 | 63 4f 56 69 65 77 2e 70 |.}..Basi|cOView.p| |00003db0| 72 6f 74 6f 74 79 70 65 | 2e 67 65 74 50 61 72 65 |rototype|.getPare| |00003dc0| 6e 74 49 6e 64 65 78 20 | 3d 0a 66 75 6e 63 74 69 |ntIndex |=.functi| |00003dd0| 6f 6e 20 62 6f 76 5f 67 | 65 74 70 69 20 28 69 6e |on bov_g|etpi (in| |00003de0| 64 65 78 29 0a 7b 0a 20 | 20 20 20 72 65 74 75 72 |dex).{. | retur| |00003df0| 6e 20 30 3b 0a 7d 0a 0a | 42 61 73 69 63 4f 56 69 |n 0;.}..|BasicOVi| |00003e00| 65 77 2e 70 72 6f 74 6f | 74 79 70 65 2e 68 61 73 |ew.proto|type.has| |00003e10| 4e 65 78 74 53 69 62 6c | 69 6e 67 20 3d 0a 66 75 |NextSibl|ing =.fu| |00003e20| 6e 63 74 69 6f 6e 20 62 | 6f 76 5f 68 61 73 6e 78 |nction b|ov_hasnx| |00003e30| 74 73 69 62 20 28 72 6f | 77 49 6e 64 65 78 2c 20 |tsib (ro|wIndex, | |00003e40| 61 66 74 65 72 49 6e 64 | 65 78 29 0a 7b 0a 20 20 |afterInd|ex).{. | |00003e50| 20 20 72 65 74 75 72 6e | 20 28 61 66 74 65 72 49 | return| (afterI| |00003e60| 6e 64 65 78 20 3c 20 28 | 74 68 69 73 2e 72 6f 77 |ndex < (|this.row| |00003e70| 43 6f 75 6e 74 20 2d 20 | 31 29 29 3b 0a 7d 0a 0a |Count - |1));.}..| |00003e80| 42 61 73 69 63 4f 56 69 | 65 77 2e 70 72 6f 74 6f |BasicOVi|ew.proto| |00003e90| 74 79 70 65 2e 67 65 74 | 4c 65 76 65 6c 20 3d 0a |type.get|Level =.| |00003ea0| 66 75 6e 63 74 69 6f 6e | 20 62 6f 76 5f 67 65 74 |function| bov_get| |00003eb0| 6c 76 6c 20 28 69 6e 64 | 65 78 29 0a 7b 0a 20 20 |lvl (ind|ex).{. | |00003ec0| 20 20 72 65 74 75 72 6e | 20 30 3b 0a 7d 0a 0a 42 | return| 0;.}..B| |00003ed0| 61 73 69 63 4f 56 69 65 | 77 2e 70 72 6f 74 6f 74 |asicOVie|w.protot| |00003ee0| 79 70 65 2e 67 65 74 49 | 6d 61 67 65 53 72 63 20 |ype.getI|mageSrc | |00003ef0| 3d 0a 66 75 6e 63 74 69 | 6f 6e 20 62 6f 76 5f 67 |=.functi|on bov_g| |00003f00| 65 74 69 6d 67 73 72 63 | 20 28 72 6f 77 2c 20 63 |etimgsrc| (row, c| |00003f10| 6f 6c 29 0a 7b 0a 7d 0a | 0a 42 61 73 69 63 4f 56 |ol).{.}.|.BasicOV| |00003f20| 69 65 77 2e 70 72 6f 74 | 6f 74 79 70 65 2e 67 65 |iew.prot|otype.ge| |00003f30| 74 50 72 6f 67 72 65 73 | 73 4d 6f 64 65 20 3d 0a |tProgres|sMode =.| |00003f40| 66 75 6e 63 74 69 6f 6e | 20 62 6f 76 5f 67 65 74 |function| bov_get| |00003f50| 70 72 67 6d 6f 64 65 20 | 28 72 6f 77 2c 20 63 6f |prgmode |(row, co| |00003f60| 6c 29 0a 7b 0a 7d 0a 0a | 42 61 73 69 63 4f 56 69 |l).{.}..|BasicOVi| |00003f70| 65 77 2e 70 72 6f 74 6f | 74 79 70 65 2e 67 65 74 |ew.proto|type.get| |00003f80| 43 65 6c 6c 56 61 6c 75 | 65 20 3d 0a 66 75 6e 63 |CellValu|e =.func| |00003f90| 74 69 6f 6e 20 62 6f 76 | 5f 67 65 74 63 65 6c 6c |tion bov|_getcell| |00003fa0| 76 61 6c 20 28 72 6f 77 | 2c 20 63 6f 6c 29 0a 7b |val (row|, col).{| |00003fb0| 0a 7d 0a 0a 42 61 73 69 | 63 4f 56 69 65 77 2e 70 |.}..Basi|cOView.p| |00003fc0| 72 6f 74 6f 74 79 70 65 | 2e 67 65 74 43 65 6c 6c |rototype|.getCell| |00003fd0| 54 65 78 74 20 3d 0a 66 | 75 6e 63 74 69 6f 6e 20 |Text =.f|unction | |00003fe0| 62 6f 76 5f 67 65 74 63 | 65 6c 6c 74 78 74 20 28 |bov_getc|elltxt (| |00003ff0| 72 6f 77 2c 20 63 6f 6c | 29 0a 7b 0a 20 20 20 20 |row, col|).{. | |00004000| 69 66 20 28 21 74 68 69 | 73 2e 63 6f 6c 75 6d 6e |if (!thi|s.column| |00004010| 4e 61 6d 65 73 29 0a 20 | 20 20 20 20 20 20 20 72 |Names). | r| |00004020| 65 74 75 72 6e 20 22 22 | 3b 0a 20 20 20 20 0a 20 |eturn ""|;. . | |00004030| 20 20 20 76 61 72 20 63 | 6f 6c 4e 61 6d 65 20 3d | var c|olName =| |00004040| 20 74 68 69 73 2e 63 6f | 6c 75 6d 6e 4e 61 6d 65 | this.co|lumnName| |00004050| 73 5b 63 6f 6c 2e 69 64 | 5d 3b 0a 20 20 20 20 0a |s[col.id|];. .| |00004060| 20 20 20 20 69 66 20 28 | 74 79 70 65 6f 66 20 63 | if (|typeof c| |00004070| 6f 6c 4e 61 6d 65 20 3d | 3d 20 22 75 6e 64 65 66 |olName =|= "undef| |00004080| 69 6e 65 64 22 29 0a 20 | 20 20 20 20 20 20 20 72 |ined"). | r| |00004090| 65 74 75 72 6e 20 22 22 | 3b 0a 20 20 20 20 0a 20 |eturn ""|;. . | |000040a0| 20 20 20 72 65 74 75 72 | 6e 20 74 68 69 73 2e 64 | retur|n this.d| |000040b0| 61 74 61 5b 72 6f 77 5d | 5b 63 6f 6c 4e 61 6d 65 |ata[row]|[colName| |000040c0| 5d 3b 0a 7d 0a 0a 42 61 | 73 69 63 4f 56 69 65 77 |];.}..Ba|sicOView| |000040d0| 2e 70 72 6f 74 6f 74 79 | 70 65 2e 73 65 74 54 72 |.prototy|pe.setTr| |000040e0| 65 65 20 3d 0a 66 75 6e | 63 74 69 6f 6e 20 62 6f |ee =.fun|ction bo| |000040f0| 76 5f 73 65 74 6f 20 28 | 74 72 65 65 29 0a 7b 0a |v_seto (|tree).{.| |00004100| 20 20 20 20 74 68 69 73 | 2e 74 72 65 65 20 3d 20 | this|.tree = | |00004110| 74 72 65 65 3b 0a 7d 0a | 0a 42 61 73 69 63 4f 56 |tree;.}.|.BasicOV| |00004120| 69 65 77 2e 70 72 6f 74 | 6f 74 79 70 65 2e 74 6f |iew.prot|otype.to| |00004130| 67 67 6c 65 4f 70 65 6e | 53 74 61 74 65 20 3d 0a |ggleOpen|State =.| |00004140| 66 75 6e 63 74 69 6f 6e | 20 62 6f 76 5f 74 6f 67 |function| bov_tog| |00004150| 67 6c 65 6f 70 65 6e 20 | 28 69 6e 64 65 78 29 0a |gleopen |(index).| |00004160| 7b 0a 7d 0a 0a 42 61 73 | 69 63 4f 56 69 65 77 2e |{.}..Bas|icOView.| |00004170| 70 72 6f 74 6f 74 79 70 | 65 2e 63 79 63 6c 65 48 |prototyp|e.cycleH| |00004180| 65 61 64 65 72 20 3d 0a | 66 75 6e 63 74 69 6f 6e |eader =.|function| |00004190| 20 62 6f 76 5f 63 79 63 | 6c 65 68 64 72 20 28 63 | bov_cyc|lehdr (c| |000041a0| 6f 6c 29 0a 7b 0a 7d 0a | 0a 42 61 73 69 63 4f 56 |ol).{.}.|.BasicOV| |000041b0| 69 65 77 2e 70 72 6f 74 | 6f 74 79 70 65 2e 73 65 |iew.prot|otype.se| |000041c0| 6c 65 63 74 69 6f 6e 43 | 68 61 6e 67 65 64 20 3d |lectionC|hanged =| |000041d0| 0a 66 75 6e 63 74 69 6f | 6e 20 62 6f 76 5f 73 65 |.functio|n bov_se| |000041e0| 6c 63 68 67 20 28 29 0a | 7b 0a 7d 0a 0a 42 61 73 |lchg ().|{.}..Bas| |000041f0| 69 63 4f 56 69 65 77 2e | 70 72 6f 74 6f 74 79 70 |icOView.|prototyp| |00004200| 65 2e 63 79 63 6c 65 43 | 65 6c 6c 20 3d 0a 66 75 |e.cycleC|ell =.fu| |00004210| 6e 63 74 69 6f 6e 20 62 | 6f 76 5f 63 79 63 6c 65 |nction b|ov_cycle| |00004220| 63 65 6c 6c 20 28 72 6f | 77 2c 20 63 6f 6c 29 0a |cell (ro|w, col).| |00004230| 7b 0a 7d 0a 0a 42 61 73 | 69 63 4f 56 69 65 77 2e |{.}..Bas|icOView.| |00004240| 70 72 6f 74 6f 74 79 70 | 65 2e 69 73 45 64 69 74 |prototyp|e.isEdit| |00004250| 61 62 6c 65 20 3d 0a 66 | 75 6e 63 74 69 6f 6e 20 |able =.f|unction | |00004260| 62 6f 76 5f 69 73 65 64 | 69 74 20 28 72 6f 77 2c |bov_ised|it (row,| |00004270| 20 63 6f 6c 29 0a 7b 0a | 20 20 20 20 72 65 74 75 | col).{.| retu| |00004280| 72 6e 20 66 61 6c 73 65 | 3b 0a 7d 0a 0a 42 61 73 |rn false|;.}..Bas| |00004290| 69 63 4f 56 69 65 77 2e | 70 72 6f 74 6f 74 79 70 |icOView.|prototyp| |000042a0| 65 2e 69 73 53 65 6c 65 | 63 74 61 62 6c 65 20 3d |e.isSele|ctable =| |000042b0| 0a 66 75 6e 63 74 69 6f | 6e 20 62 6f 76 5f 69 73 |.functio|n bov_is| |000042c0| 73 65 6c 65 63 74 20 28 | 72 6f 77 2c 20 63 6f 6c |select (|row, col| |000042d0| 29 0a 7b 0a 20 20 20 20 | 72 65 74 75 72 6e 20 66 |).{. |return f| |000042e0| 61 6c 73 65 3b 0a 7d 0a | 0a 42 61 73 69 63 4f 56 |alse;.}.|.BasicOV| |000042f0| 69 65 77 2e 70 72 6f 74 | 6f 74 79 70 65 2e 73 65 |iew.prot|otype.se| |00004300| 74 43 65 6c 6c 56 61 6c | 75 65 20 3d 0a 66 75 6e |tCellVal|ue =.fun| |00004310| 63 74 69 6f 6e 20 62 6f | 76 5f 73 65 74 63 74 20 |ction bo|v_setct | |00004320| 28 72 6f 77 2c 20 63 6f | 6c 2c 20 76 61 6c 75 65 |(row, co|l, value| |00004330| 29 0a 7b 0a 7d 0a 0a 42 | 61 73 69 63 4f 56 69 65 |).{.}..B|asicOVie| |00004340| 77 2e 70 72 6f 74 6f 74 | 79 70 65 2e 73 65 74 43 |w.protot|ype.setC| |00004350| 65 6c 6c 54 65 78 74 20 | 3d 0a 66 75 6e 63 74 69 |ellText |=.functi| |00004360| 6f 6e 20 62 6f 76 5f 73 | 65 74 63 74 20 28 72 6f |on bov_s|etct (ro| |00004370| 77 2c 20 63 6f 6c 2c 20 | 76 61 6c 75 65 29 0a 7b |w, col, |value).{| |00004380| 0a 7d 0a 0a 42 61 73 69 | 63 4f 56 69 65 77 2e 70 |.}..Basi|cOView.p| |00004390| 72 6f 74 6f 74 79 70 65 | 2e 70 65 72 66 6f 72 6d |rototype|.perform| |000043a0| 41 63 74 69 6f 6e 20 3d | 0a 66 75 6e 63 74 69 6f |Action =|.functio| |000043b0| 6e 20 62 6f 76 5f 70 61 | 63 74 20 28 61 63 74 69 |n bov_pa|ct (acti| |000043c0| 6f 6e 29 0a 7b 0a 7d 0a | 0a 42 61 73 69 63 4f 56 |on).{.}.|.BasicOV| |000043d0| 69 65 77 2e 70 72 6f 74 | 6f 74 79 70 65 2e 70 65 |iew.prot|otype.pe| |000043e0| 72 66 6f 72 6d 41 63 74 | 69 6f 6e 4f 6e 52 6f 77 |rformAct|ionOnRow| |000043f0| 20 3d 0a 66 75 6e 63 74 | 69 6f 6e 20 62 6f 76 5f | =.funct|ion bov_| |00004400| 70 61 63 74 72 6f 77 20 | 28 61 63 74 69 6f 6e 29 |pactrow |(action)| |00004410| 0a 7b 0a 7d 0a 0a 42 61 | 73 69 63 4f 56 69 65 77 |.{.}..Ba|sicOView| |00004420| 2e 70 72 6f 74 6f 74 79 | 70 65 2e 70 65 72 66 6f |.prototy|pe.perfo| |00004430| 72 6d 41 63 74 69 6f 6e | 4f 6e 43 65 6c 6c 20 3d |rmAction|OnCell =| |00004440| 0a 66 75 6e 63 74 69 6f | 6e 20 62 6f 76 5f 70 61 |.functio|n bov_pa| |00004450| 63 74 63 65 6c 6c 20 28 | 61 63 74 69 6f 6e 29 0a |ctcell (|action).| |00004460| 7b 0a 7d 0a 0a 2f 2a 0a | 20 2a 20 72 65 63 6f 72 |{.}../*.| * recor| |00004470| 64 20 66 6f 72 20 74 68 | 65 20 54 72 65 65 4f 56 |d for th|e TreeOV| |00004480| 69 65 77 2e 20 20 74 68 | 65 73 65 20 74 68 69 6e |iew. th|ese thin| |00004490| 67 73 20 74 61 6b 65 20 | 63 61 72 65 20 6f 66 20 |gs take |care of | |000044a0| 6b 65 65 70 69 6e 67 20 | 74 68 65 20 54 72 65 65 |keeping |the Tree| |000044b0| 4f 56 69 65 77 0a 20 2a | 20 70 72 6f 70 65 72 6c |OView. *| properl| |000044c0| 79 20 69 6e 66 6f 72 6d | 65 64 20 6f 66 20 63 68 |y inform|ed of ch| |000044d0| 61 6e 67 65 73 20 69 6e | 20 76 61 6c 75 65 20 61 |anges in| value a| |000044e0| 6e 64 20 63 68 69 6c 64 | 20 63 6f 75 6e 74 2e 20 |nd child| count. | |000044f0| 20 79 6f 75 20 73 68 6f | 75 6c 64 6e 27 74 20 68 | you sho|uldn't h| |00004500| 61 76 65 0a 20 2a 20 74 | 6f 20 6d 61 69 6e 74 61 |ave. * t|o mainta| |00004510| 69 6e 20 74 72 65 65 20 | 73 74 61 74 65 20 61 74 |in tree |state at| |00004520| 20 61 6c 6c 2e 0a 20 2a | 0a 20 2a 20 7c 73 68 61 | all.. *|. * |sha| |00004530| 72 65 7c 20 73 68 6f 75 | 6c 64 20 62 65 20 61 6e |re| shou|ld be an| |00004540| 20 6f 74 68 65 72 77 69 | 73 65 20 65 6d 70 74 79 | otherwi|se empty| |00004550| 20 6f 62 6a 65 63 74 20 | 74 6f 20 73 74 6f 72 65 | object |to store| |00004560| 20 63 61 63 68 65 20 64 | 61 74 61 2e 0a 20 2a 20 | cache d|ata.. * | |00004570| 79 6f 75 20 73 68 6f 75 | 6c 64 20 75 73 65 20 74 |you shou|ld use t| |00004580| 68 65 20 73 61 6d 65 20 | 6f 62 6a 65 63 74 20 61 |he same |object a| |00004590| 73 20 74 68 65 20 7c 73 | 68 61 72 65 7c 20 66 6f |s the |s|hare| fo| |000045a0| 72 20 74 68 65 20 54 72 | 65 65 4f 56 69 65 77 20 |r the Tr|eeOView | |000045b0| 74 68 61 74 20 79 6f 75 | 0a 20 2a 20 69 6e 64 65 |that you|. * inde| |000045c0| 6e 64 20 74 6f 20 63 6f | 6e 74 61 69 6e 20 74 68 |nd to co|ntain th| |000045d0| 65 73 65 20 72 65 63 6f | 72 64 73 2e 0a 20 2a 0a |ese reco|rds.. *.| |000045e0| 20 2a 2f 0a 66 75 6e 63 | 74 69 6f 6e 20 54 72 65 | */.func|tion Tre| |000045f0| 65 4f 56 69 65 77 52 65 | 63 6f 72 64 28 73 68 61 |eOViewRe|cord(sha| |00004600| 72 65 29 0a 7b 0a 20 20 | 20 20 74 68 69 73 2e 5f |re).{. | this._| |00004610| 73 68 61 72 65 20 3d 20 | 73 68 61 72 65 3b 0a 20 |share = |share;. | |00004620| 20 20 20 74 68 69 73 2e | 76 69 73 75 61 6c 46 6f | this.|visualFo| |00004630| 6f 74 70 72 69 6e 74 20 | 3d 20 31 3b 0a 20 20 20 |otprint |= 1;. | |00004640| 20 74 68 69 73 2e 69 73 | 48 69 64 64 65 6e 20 3d | this.is|Hidden =| |00004650| 20 74 72 75 65 3b 20 2f | 2a 20 72 65 63 6f 72 64 | true; /|* record| |00004660| 73 20 61 72 65 20 63 6f | 6e 73 69 64 65 72 65 64 |s are co|nsidered| |00004670| 20 68 69 64 64 65 6e 20 | 75 6e 74 69 6c 20 74 68 | hidden |until th| |00004680| 65 79 20 61 72 65 0a 20 | 20 20 20 20 20 20 20 20 |ey are. | | |00004690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000046a0| 20 20 2a 20 69 6e 73 65 | 72 74 65 64 20 69 6e 74 | * inse|rted int| |000046b0| 6f 20 61 20 6c 69 76 65 | 20 74 72 65 65 20 2a 2f |o a live| tree */| |000046c0| 0a 7d 0a 0a 2f 2a 0a 20 | 2a 20 77 61 6c 6b 20 74 |.}../*. |* walk t| |000046d0| 68 65 20 70 61 72 65 6e | 74 20 74 72 65 65 20 74 |he paren|t tree t| |000046e0| 6f 20 66 69 6e 64 20 6f | 75 72 20 74 72 65 65 20 |o find o|ur tree | |000046f0| 63 6f 6e 74 61 69 6e 65 | 72 2e 20 20 72 65 74 75 |containe|r. retu| |00004700| 72 6e 20 6e 75 6c 6c 20 | 69 66 20 74 68 65 72 65 |rn null |if there| |00004710| 20 69 73 0a 20 2a 20 6e | 6f 6e 65 0a 20 2a 2f 0a | is. * n|one. */.| |00004720| 54 72 65 65 4f 56 69 65 | 77 52 65 63 6f 72 64 2e |TreeOVie|wRecord.| |00004730| 70 72 6f 74 6f 74 79 70 | 65 2e 66 69 6e 64 43 6f |prototyp|e.findCo| |00004740| 6e 74 61 69 6e 65 72 54 | 72 65 65 20 3d 0a 66 75 |ntainerT|ree =.fu| |00004750| 6e 63 74 69 6f 6e 20 74 | 6f 76 72 5f 67 65 74 74 |nction t|ovr_gett| |00004760| 72 65 65 20 28 29 0a 7b | 0a 20 20 20 20 76 61 72 |ree ().{|. var| |00004770| 20 70 61 72 65 6e 74 20 | 3d 20 74 68 69 73 2e 70 | parent |= this.p| |00004780| 61 72 65 6e 74 52 65 63 | 6f 72 64 0a 20 20 20 20 |arentRec|ord. | |00004790| 0a 20 20 20 20 77 68 69 | 6c 65 20 28 70 61 72 65 |. whi|le (pare| |000047a0| 6e 74 29 0a 20 20 20 20 | 7b 0a 20 20 20 20 20 20 |nt). |{. | |000047b0| 20 20 69 66 20 28 22 5f | 74 72 65 65 56 69 65 77 | if ("_|treeView| |000047c0| 22 20 69 6e 20 70 61 72 | 65 6e 74 29 0a 20 20 20 |" in par|ent). | |000047d0| 20 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 20 | | return | |000047e0| 70 61 72 65 6e 74 2e 5f | 74 72 65 65 56 69 65 77 |parent._|treeView| |000047f0| 3b 0a 20 20 20 20 20 20 | 20 20 70 61 72 65 6e 74 |;. | parent| |00004800| 20 3d 20 70 61 72 65 6e | 74 2e 70 61 72 65 6e 74 | = paren|t.parent| |00004810| 52 65 63 6f 72 64 0a 20 | 20 20 20 7d 0a 0a 20 20 |Record. | }.. | |00004820| 20 20 72 65 74 75 72 6e | 20 6e 75 6c 6c 3b 0a 7d | return| null;.}| |00004830| 0a 0a 2f 2a 20 63 6f 75 | 6e 74 20 74 68 65 20 6e |../* cou|nt the n| |00004840| 75 6d 62 65 72 20 6f 66 | 20 70 61 72 65 6e 74 73 |umber of| parents| |00004850| 2c 20 6e 6f 74 20 69 6e | 63 6c 75 64 69 6e 67 20 |, not in|cluding | |00004860| 74 68 65 20 72 6f 6f 74 | 20 6e 6f 64 65 20 2a 2f |the root| node */| |00004870| 0a 54 72 65 65 4f 56 69 | 65 77 52 65 63 6f 72 64 |.TreeOVi|ewRecord| |00004880| 2e 70 72 6f 74 6f 74 79 | 70 65 2e 5f 5f 64 65 66 |.prototy|pe.__def| |00004890| 69 6e 65 47 65 74 74 65 | 72 5f 5f 28 22 6c 65 76 |ineGette|r__("lev| |000048a0| 65 6c 22 2c 20 74 6f 76 | 72 5f 67 65 74 4c 65 76 |el", tov|r_getLev| |000048b0| 65 6c 29 3b 0a 66 75 6e | 63 74 69 6f 6e 20 74 6f |el);.fun|ction to| |000048c0| 76 72 5f 67 65 74 4c 65 | 76 65 6c 20 28 29 0a 7b |vr_getLe|vel ().{| |000048d0| 0a 20 20 20 20 76 61 72 | 20 72 76 20 3d 20 30 3b |. var| rv = 0;| |000048e0| 0a 20 20 20 20 76 61 72 | 20 70 61 72 65 6e 74 52 |. var| parentR| |000048f0| 65 63 6f 72 64 20 3d 20 | 74 68 69 73 2e 70 61 72 |ecord = |this.par| |00004900| 65 6e 74 52 65 63 6f 72 | 64 3b 0a 20 20 20 20 77 |entRecor|d;. w| |00004910| 68 69 6c 65 20 28 22 70 | 61 72 65 6e 74 52 65 63 |hile ("p|arentRec| |00004920| 6f 72 64 22 20 69 6e 20 | 70 61 72 65 6e 74 52 65 |ord" in |parentRe| |00004930| 63 6f 72 64 20 26 26 0a | 20 20 20 20 20 20 20 20 |cord &&.| | |00004940| 20 20 20 28 70 61 72 65 | 6e 74 52 65 63 6f 72 64 | (pare|ntRecord| |00004950| 20 3d 20 70 61 72 65 6e | 74 52 65 63 6f 72 64 2e | = paren|tRecord.| |00004960| 70 61 72 65 6e 74 52 65 | 63 6f 72 64 29 29 20 2b |parentRe|cord)) +| |00004970| 2b 72 76 3b 0a 20 20 20 | 20 72 65 74 75 72 6e 20 |+rv;. | return | |00004980| 72 76 3b 0a 7d 0a 0a 2f | 2a 0a 20 2a 20 61 73 73 |rv;.}../|*. * ass| |00004990| 6f 63 69 61 74 65 73 20 | 61 20 70 72 6f 70 65 72 |ociates |a proper| |000049a0| 74 79 20 6e 61 6d 65 20 | 6f 6e 20 74 68 69 73 20 |ty name |on this | |000049b0| 72 65 63 6f 72 64 2c 20 | 77 69 74 68 20 61 20 63 |record, |with a c| |000049c0| 6f 6c 75 6d 6e 20 69 6e | 20 74 68 65 20 74 72 65 |olumn in| the tre| |000049d0| 65 2e 20 20 54 68 69 73 | 0a 20 2a 20 6d 65 74 68 |e. This|. * meth| |000049e0| 6f 64 20 77 69 6c 6c 20 | 73 65 74 20 75 70 20 61 |od will |set up a| |000049f0| 20 67 65 74 2f 73 65 74 | 20 70 61 69 72 20 66 6f | get/set| pair fo| |00004a00| 72 20 74 68 65 20 70 72 | 6f 70 65 72 74 79 20 6e |r the pr|operty n| |00004a10| 61 6d 65 20 79 6f 75 20 | 73 70 65 63 69 66 79 20 |ame you |specify | |00004a20| 77 68 69 63 68 0a 20 2a | 20 77 69 6c 6c 20 74 61 |which. *| will ta| |00004a30| 6b 65 20 63 61 72 65 20 | 6f 66 20 75 70 64 61 74 |ke care |of updat| |00004a40| 69 6e 67 20 74 68 65 20 | 74 72 65 65 20 77 68 65 |ing the |tree whe| |00004a50| 6e 20 74 68 65 20 76 61 | 6c 75 65 20 63 68 61 6e |n the va|lue chan| |00004a60| 67 65 73 2e 20 20 44 4f | 20 4e 4f 54 20 74 72 79 |ges. DO| NOT try| |00004a70| 0a 20 2a 20 74 6f 20 63 | 68 61 6e 67 65 20 79 6f |. * to c|hange yo| |00004a80| 75 72 20 6d 69 6e 64 20 | 6c 61 74 65 72 2e 20 20 |ur mind |later. | |00004a90| 44 6f 20 6e 6f 74 20 61 | 74 74 61 63 68 20 61 20 |Do not a|ttach a | |00004aa0| 64 69 66 66 65 72 65 6e | 74 20 6e 61 6d 65 20 74 |differen|t name t| |00004ab0| 6f 20 74 68 65 20 73 61 | 6d 65 20 63 6f 6c 49 44 |o the sa|me colID| |00004ac0| 2c 0a 20 2a 20 61 6e 64 | 20 64 6f 20 6e 6f 20 72 |,. * and| do no r| |00004ad0| 65 6e 61 6d 65 20 74 68 | 65 20 63 6f 6c 49 44 2e |ename th|e colID.| |00004ae0| 20 20 59 6f 75 20 68 61 | 76 65 20 62 65 65 6e 20 | You ha|ve been | |00004af0| 77 61 72 6e 65 64 2e 0a | 20 2a 2f 0a 54 72 65 65 |warned..| */.Tree| |00004b00| 4f 56 69 65 77 52 65 63 | 6f 72 64 2e 70 72 6f 74 |OViewRec|ord.prot| |00004b10| 6f 74 79 70 65 2e 73 65 | 74 43 6f 6c 75 6d 6e 50 |otype.se|tColumnP| |00004b20| 72 6f 70 65 72 74 79 4e | 61 6d 65 20 3d 0a 66 75 |ropertyN|ame =.fu| |00004b30| 6e 63 74 69 6f 6e 20 74 | 6f 76 72 5f 73 65 74 63 |nction t|ovr_setc| |00004b40| 6f 6c 20 28 63 6f 6c 49 | 44 2c 20 70 72 6f 70 65 |ol (colI|D, prope| |00004b50| 72 74 79 4e 61 6d 65 29 | 0a 7b 0a 20 20 20 20 66 |rtyName)|.{. f| |00004b60| 75 6e 63 74 69 6f 6e 20 | 74 6f 76 72 5f 67 65 74 |unction |tovr_get| |00004b70| 56 61 6c 75 65 53 68 69 | 6d 20 28 29 0a 20 20 20 |ValueShi|m (). | |00004b80| 20 7b 0a 20 20 20 20 20 | 20 20 20 72 65 74 75 72 | {. | retur| |00004b90| 6e 20 74 68 69 73 2e 5f | 63 6f 6c 56 61 6c 75 65 |n this._|colValue| |00004ba0| 73 5b 63 6f 6c 49 44 5d | 3b 0a 20 20 20 20 7d 0a |s[colID]|;. }.| |00004bb0| 20 20 20 20 66 75 6e 63 | 74 69 6f 6e 20 74 6f 76 | func|tion tov| |00004bc0| 72 5f 73 65 74 56 61 6c | 75 65 53 68 69 6d 20 28 |r_setVal|ueShim (| |00004bd0| 6e 65 77 56 61 6c 75 65 | 29 0a 20 20 20 20 7b 0a |newValue|). {.| |00004be0| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 5f 63 6f | |this._co| |00004bf0| 6c 56 61 6c 75 65 73 5b | 63 6f 6c 49 44 5d 20 3d |lValues[|colID] =| |00004c00| 20 6e 65 77 56 61 6c 75 | 65 3b 0a 20 20 20 20 20 | newValu|e;. | |00004c10| 20 20 20 2f 2a 20 58 58 | 58 20 74 68 69 73 2e 69 | /* XX|X this.i| |00004c20| 6e 76 61 6c 69 64 61 74 | 65 28 29 3b 20 2a 2f 0a |nvalidat|e(); */.| |00004c30| 20 20 20 20 20 20 20 20 | 72 65 74 75 72 6e 20 6e | |return n| |00004c40| 65 77 56 61 6c 75 65 3b | 0a 20 20 20 20 7d 0a 0a |ewValue;|. }..| |00004c50| 20 20 20 20 69 66 20 28 | 21 28 22 5f 63 6f 6c 56 | if (|!("_colV| |00004c60| 61 6c 75 65 73 22 20 69 | 6e 20 74 68 69 73 29 29 |alues" i|n this))| |00004c70| 0a 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 5f 63 |. | this._c| |00004c80| 6f 6c 56 61 6c 75 65 73 | 20 3d 20 6e 65 77 20 4f |olValues| = new O| |00004c90| 62 6a 65 63 74 28 29 3b | 0a 20 20 20 20 0a 20 20 |bject();|. . | |00004ca0| 20 20 69 66 20 28 74 79 | 70 65 6f 66 20 70 72 6f | if (ty|peof pro| |00004cb0| 70 65 72 74 79 4e 61 6d | 65 20 3d 3d 20 22 66 75 |pertyNam|e == "fu| |00004cc0| 6e 63 74 69 6f 6e 22 29 | 0a 20 20 20 20 7b 0a 20 |nction")|. {. | |00004cd0| 20 20 20 20 20 20 20 74 | 68 69 73 2e 5f 63 6f 6c | t|his._col| |00004ce0| 56 61 6c 75 65 73 2e 5f | 5f 64 65 66 69 6e 65 47 |Values._|_defineG| |00004cf0| 65 74 74 65 72 5f 5f 28 | 63 6f 6c 49 44 2c 20 70 |etter__(|colID, p| |00004d00| 72 6f 70 65 72 74 79 4e | 61 6d 65 29 3b 0a 20 20 |ropertyN|ame);. | |00004d10| 20 20 7d 0a 20 20 20 20 | 65 6c 73 65 0a 20 20 20 | }. |else. | |00004d20| 20 7b 0a 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | {. | this.| |00004d30| 5f 5f 64 65 66 69 6e 65 | 47 65 74 74 65 72 5f 5f |__define|Getter__| |00004d40| 28 70 72 6f 70 65 72 74 | 79 4e 61 6d 65 2c 20 74 |(propert|yName, t| |00004d50| 6f 76 72 5f 67 65 74 56 | 61 6c 75 65 53 68 69 6d |ovr_getV|alueShim| |00004d60| 29 3b 0a 20 20 20 20 20 | 20 20 20 74 68 69 73 2e |);. | this.| |00004d70| 5f 5f 64 65 66 69 6e 65 | 53 65 74 74 65 72 5f 5f |__define|Setter__| |00004d80| 28 70 72 6f 70 65 72 74 | 79 4e 61 6d 65 2c 20 74 |(propert|yName, t| |00004d90| 6f 76 72 5f 73 65 74 56 | 61 6c 75 65 53 68 69 6d |ovr_setV|alueShim| |00004da0| 29 3b 0a 20 20 20 20 7d | 0a 7d 0a 0a 2f 2a 0a 20 |);. }|.}../*. | |00004db0| 2a 20 73 65 74 20 74 68 | 65 20 64 65 66 61 75 6c |* set th|e defaul| |00004dc0| 74 20 73 6f 72 74 20 63 | 6f 6c 75 6d 6e 20 61 6e |t sort c|olumn an| |00004dd0| 64 20 72 65 73 6f 72 74 | 2e 0a 20 2a 2f 0a 54 72 |d resort|.. */.Tr| |00004de0| 65 65 4f 56 69 65 77 52 | 65 63 6f 72 64 2e 70 72 |eeOViewR|ecord.pr| |00004df0| 6f 74 6f 74 79 70 65 2e | 73 65 74 53 6f 72 74 43 |ototype.|setSortC| |00004e00| 6f 6c 75 6d 6e 20 3d 0a | 66 75 6e 63 74 69 6f 6e |olumn =.|function| |00004e10| 20 74 6f 76 72 5f 73 65 | 74 63 6f 6c 20 28 63 6f | tovr_se|tcol (co| |00004e20| 6c 49 44 2c 20 64 69 72 | 29 0a 7b 0a 20 20 20 20 |lID, dir|).{. | |00004e30| 2f 2f 64 64 20 28 22 73 | 65 74 74 69 6e 67 20 73 |//dd ("s|etting s| |00004e40| 6f 72 74 20 63 6f 6c 75 | 6d 6e 20 74 6f 20 22 20 |ort colu|mn to " | |00004e50| 2b 20 63 6f 6c 49 44 29 | 3b 0a 20 20 20 20 74 68 |+ colID)|;. th| |00004e60| 69 73 2e 5f 73 68 61 72 | 65 2e 73 6f 72 74 43 6f |is._shar|e.sortCo| |00004e70| 6c 75 6d 6e 20 3d 20 63 | 6f 6c 49 44 3b 0a 20 20 |lumn = c|olID;. | |00004e80| 20 20 74 68 69 73 2e 5f | 73 68 61 72 65 2e 73 6f | this._|share.so| |00004e90| 72 74 44 69 72 65 63 74 | 69 6f 6e 20 3d 20 28 74 |rtDirect|ion = (t| |00004ea0| 79 70 65 6f 66 20 64 69 | 72 20 3d 3d 20 22 75 6e |ypeof di|r == "un| |00004eb0| 64 65 66 69 6e 65 64 22 | 29 20 3f 20 31 20 3a 20 |defined"|) ? 1 : | |00004ec0| 64 69 72 3b 0a 20 20 20 | 20 74 68 69 73 2e 72 65 |dir;. | this.re| |00004ed0| 73 6f 72 74 28 29 3b 0a | 7d 0a 0a 2f 2a 0a 20 2a |sort();.|}../*. *| |00004ee0| 20 73 65 74 20 74 68 65 | 20 64 65 66 61 75 6c 74 | set the| default| |00004ef0| 20 73 6f 72 74 20 64 69 | 72 65 63 74 69 6f 6e 2e | sort di|rection.| |00004f00| 20 20 31 20 69 73 20 61 | 73 63 65 6e 64 69 6e 67 | 1 is a|scending| |00004f10| 2c 20 2d 31 20 69 73 20 | 64 65 73 63 65 6e 64 69 |, -1 is |descendi| |00004f20| 6e 67 2c 20 30 20 69 73 | 20 6e 6f 0a 20 2a 20 73 |ng, 0 is| no. * s| |00004f30| 6f 72 74 2e 20 20 73 65 | 74 74 69 6e 67 20 74 68 |ort. se|tting th| |00004f40| 69 73 20 74 6f 20 30 20 | 77 69 6c 6c 20 2a 6e 6f |is to 0 |will *no| |00004f50| 74 2a 20 72 65 63 6f 76 | 65 72 20 74 68 65 20 6e |t* recov|er the n| |00004f60| 61 74 75 72 61 6c 20 69 | 6e 73 65 72 74 69 6f 6e |atural i|nsertion| |00004f70| 20 6f 72 64 65 72 2c 0a | 20 2a 20 69 74 20 77 69 | order,.| * it wi| |00004f80| 6c 6c 20 6f 6e 6c 79 20 | 61 66 66 65 63 74 20 6e |ll only |affect n| |00004f90| 65 77 6c 79 20 61 64 64 | 65 64 20 69 74 65 6d 73 |ewly add|ed items| |00004fa0| 2e 0a 20 2a 2f 0a 54 72 | 65 65 4f 56 69 65 77 52 |.. */.Tr|eeOViewR| |00004fb0| 65 63 6f 72 64 2e 70 72 | 6f 74 6f 74 79 70 65 2e |ecord.pr|ototype.| |00004fc0| 73 65 74 53 6f 72 74 44 | 69 72 65 63 74 69 6f 6e |setSortD|irection| |00004fd0| 20 3d 0a 66 75 6e 63 74 | 69 6f 6e 20 74 6f 76 72 | =.funct|ion tovr| |00004fe0| 5f 73 65 74 64 69 72 20 | 28 64 69 72 29 0a 7b 0a |_setdir |(dir).{.| |00004ff0| 20 20 20 20 74 68 69 73 | 2e 5f 73 68 61 72 65 2e | this|._share.| |00005000| 73 6f 72 74 44 69 72 65 | 63 74 69 6f 6e 20 3d 20 |sortDire|ction = | |00005010| 64 69 72 3b 0a 7d 0a 0a | 2f 2a 0a 20 2a 20 69 6e |dir;.}..|/*. * in| |00005020| 76 61 6c 69 64 61 74 65 | 20 74 68 69 73 20 72 6f |validate| this ro| |00005030| 77 20 69 6e 20 74 68 65 | 20 74 72 65 65 0a 20 2a |w in the| tree. *| |00005040| 2f 0a 54 72 65 65 4f 56 | 69 65 77 52 65 63 6f 72 |/.TreeOV|iewRecor| |00005050| 64 2e 70 72 6f 74 6f 74 | 79 70 65 2e 69 6e 76 61 |d.protot|ype.inva| |00005060| 6c 69 64 61 74 65 20 3d | 0a 66 75 6e 63 74 69 6f |lidate =|.functio| |00005070| 6e 20 74 6f 76 72 5f 69 | 6e 76 61 6c 69 64 61 74 |n tovr_i|nvalidat| |00005080| 65 28 29 0a 7b 0a 20 20 | 20 20 76 61 72 20 74 72 |e().{. | var tr| |00005090| 65 65 20 3d 20 74 68 69 | 73 2e 66 69 6e 64 43 6f |ee = thi|s.findCo| |000050a0| 6e 74 61 69 6e 65 72 54 | 72 65 65 28 29 3b 0a 20 |ntainerT|ree();. | |000050b0| 20 20 20 69 66 20 28 74 | 72 65 65 29 0a 20 20 20 | if (t|ree). | |000050c0| 20 7b 0a 20 20 20 20 20 | 20 20 20 76 61 72 20 72 | {. | var r| |000050d0| 6f 77 20 3d 20 74 68 69 | 73 2e 63 61 6c 63 75 6c |ow = thi|s.calcul| |000050e0| 61 74 65 56 69 73 75 61 | 6c 52 6f 77 28 29 3b 0a |ateVisua|lRow();.| |000050f0| 20 20 20 20 20 20 20 20 | 69 66 20 28 72 6f 77 20 | |if (row | |00005100| 21 3d 20 2d 31 29 0a 20 | 20 20 20 20 20 20 20 20 |!= -1). | | |00005110| 20 20 20 74 72 65 65 2e | 74 72 65 65 2e 69 6e 76 | tree.|tree.inv| |00005120| 61 6c 69 64 61 74 65 52 | 6f 77 28 72 6f 77 29 3b |alidateR|ow(row);| |00005130| 0a 20 20 20 20 7d 0a 7d | 0a 0a 2f 2a 0a 20 2a 20 |. }.}|../*. * | |00005140| 69 6e 76 61 6c 69 64 61 | 74 65 20 61 6e 79 20 64 |invalida|te any d| |00005150| 61 74 61 20 69 6e 20 74 | 68 65 20 63 61 63 68 65 |ata in t|he cache| |00005160| 2e 0a 20 2a 2f 0a 54 72 | 65 65 4f 56 69 65 77 52 |.. */.Tr|eeOViewR| |00005170| 65 63 6f 72 64 2e 70 72 | 6f 74 6f 74 79 70 65 2e |ecord.pr|ototype.| |00005180| 69 6e 76 61 6c 69 64 61 | 74 65 43 61 63 68 65 20 |invalida|teCache | |00005190| 3d 0a 66 75 6e 63 74 69 | 6f 6e 20 74 6f 76 72 5f |=.functi|on tovr_| |000051a0| 6b 69 6c 6c 63 61 63 68 | 65 28 29 0a 7b 0a 20 20 |killcach|e().{. | |000051b0| 20 20 74 68 69 73 2e 5f | 73 68 61 72 65 2e 72 6f | this._|share.ro| |000051c0| 77 43 61 63 68 65 20 3d | 20 6e 65 77 20 4f 62 6a |wCache =| new Obj| |000051d0| 65 63 74 28 29 3b 0a 20 | 20 20 20 74 68 69 73 2e |ect();. | this.| |000051e0| 5f 73 68 61 72 65 2e 6c | 61 73 74 43 6f 6d 70 75 |_share.l|astCompu| |000051f0| 74 65 64 49 6e 64 65 78 | 20 3d 20 2d 31 3b 0a 20 |tedIndex| = -1;. | |00005200| 20 20 20 74 68 69 73 2e | 5f 73 68 61 72 65 2e 6c | this.|_share.l| |00005210| 61 73 74 49 6e 64 65 78 | 4f 77 6e 65 72 20 3d 20 |astIndex|Owner = | |00005220| 6e 75 6c 6c 3b 0a 7d 0a | 0a 2f 2a 0a 20 2a 20 64 |null;.}.|./*. * d| |00005230| 65 66 61 75 6c 74 20 63 | 6f 6d 70 61 72 61 74 6f |efault c|omparato| |00005240| 72 20 66 75 6e 63 74 69 | 6f 6e 20 66 6f 72 20 73 |r functi|on for s| |00005250| 6f 72 74 73 2e 20 20 69 | 66 20 79 6f 75 20 77 61 |orts. i|f you wa| |00005260| 6e 74 20 61 20 63 75 73 | 74 6f 6d 20 73 6f 72 74 |nt a cus|tom sort| |00005270| 2c 20 6f 76 65 72 72 69 | 64 65 0a 20 2a 20 74 68 |, overri|de. * th| |00005280| 69 73 20 6d 65 74 68 6f | 64 2e 20 20 57 65 20 64 |is metho|d. We d| |00005290| 65 63 6c 61 72 65 20 74 | 6f 76 72 5f 73 6f 72 74 |eclare t|ovr_sort| |000052a0| 63 6d 70 20 61 73 20 61 | 20 74 6f 70 20 6c 65 76 |cmp as a| top lev| |000052b0| 65 6c 20 66 75 6e 63 74 | 69 6f 6e 2c 20 69 6e 73 |el funct|ion, ins| |000052c0| 74 65 61 64 20 6f 66 0a | 20 2a 20 61 20 66 75 6e |tead of.| * a fun| |000052d0| 63 74 69 6f 6e 20 65 78 | 70 72 65 73 73 69 6f 6e |ction ex|pression| |000052e0| 20 73 6f 20 77 65 20 63 | 61 6e 20 72 65 66 65 72 | so we c|an refer| |000052f0| 20 74 6f 20 69 74 20 6c | 61 74 65 72 2e 0a 20 2a | to it l|ater.. *| |00005300| 2f 0a 54 72 65 65 4f 56 | 69 65 77 52 65 63 6f 72 |/.TreeOV|iewRecor| |00005310| 64 2e 70 72 6f 74 6f 74 | 79 70 65 2e 73 6f 72 74 |d.protot|ype.sort| |00005320| 43 6f 6d 70 61 72 65 20 | 3d 20 74 6f 76 72 5f 73 |Compare |= tovr_s| |00005330| 6f 72 74 63 6d 70 3b 0a | 66 75 6e 63 74 69 6f 6e |ortcmp;.|function| |00005340| 20 74 6f 76 72 5f 73 6f | 72 74 63 6d 70 20 28 61 | tovr_so|rtcmp (a| |00005350| 2c 20 62 29 0a 7b 0a 20 | 20 20 20 76 61 72 20 73 |, b).{. | var s| |00005360| 63 20 3d 20 61 2e 5f 73 | 68 61 72 65 2e 73 6f 72 |c = a._s|hare.sor| |00005370| 74 43 6f 6c 75 6d 6e 3b | 0a 20 20 20 20 76 61 72 |tColumn;|. var| |00005380| 20 73 64 20 3d 20 61 2e | 5f 73 68 61 72 65 2e 73 | sd = a.|_share.s| |00005390| 6f 72 74 44 69 72 65 63 | 74 69 6f 6e 3b 20 20 20 |ortDirec|tion; | |000053a0| 20 0a 20 20 20 20 0a 20 | 20 20 20 61 20 3d 20 61 | . . | a = a| |000053b0| 5b 73 63 5d 3b 0a 20 20 | 20 20 62 20 3d 20 62 5b |[sc];. | b = b[| |000053c0| 73 63 5d 3b 0a 0a 20 20 | 20 20 69 66 20 28 61 20 |sc];.. | if (a | |000053d0| 3c 20 62 29 0a 20 20 20 | 20 20 20 20 20 72 65 74 |< b). | ret| |000053e0| 75 72 6e 20 2d 31 20 2a | 20 73 64 3b 0a 20 20 20 |urn -1 *| sd;. | |000053f0| 20 0a 20 20 20 20 69 66 | 20 28 61 20 3e 20 62 29 | . if| (a > b)| |00005400| 0a 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 20 |. | return | |00005410| 31 20 2a 20 73 64 3b 0a | 20 20 20 20 0a 20 20 20 |1 * sd;.| . | |00005420| 20 72 65 74 75 72 6e 20 | 30 3b 0a 7d 0a 0a 2f 2a | return |0;.}../*| |00005430| 0a 20 2a 20 74 68 69 73 | 20 6d 65 74 68 6f 64 20 |. * this| method | |00005440| 77 69 6c 6c 20 63 61 75 | 73 65 20 61 6c 6c 20 63 |will cau|se all c| |00005450| 68 69 6c 64 20 72 65 63 | 6f 72 64 73 20 74 6f 20 |hild rec|ords to | |00005460| 62 65 20 72 65 73 6f 72 | 74 65 64 2e 20 20 61 6e |be resor|ted. an| |00005470| 79 20 72 65 63 6f 72 64 | 73 0a 20 2a 20 77 69 74 |y record|s. * wit| |00005480| 68 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 73 6f |h the de|fault so| |00005490| 72 74 43 6f 6d 70 61 72 | 65 20 6d 65 74 68 6f 64 |rtCompar|e method| |000054a0| 20 77 69 6c 6c 20 62 65 | 20 73 6f 72 74 65 64 20 | will be| sorted | |000054b0| 62 79 20 74 68 65 20 63 | 6f 6c 49 44 20 70 61 73 |by the c|olID pas| |000054c0| 73 65 64 20 74 6f 0a 20 | 2a 20 73 65 74 53 6f 72 |sed to. |* setSor| |000054d0| 74 43 6f 6c 75 6d 6e 2e | 0a 20 2a 0a 20 2a 20 74 |tColumn.|. *. * t| |000054e0| 68 65 20 6c 6f 63 61 6c | 20 70 61 72 61 6d 65 74 |he local| paramet| |000054f0| 65 72 20 69 73 20 75 73 | 65 64 20 69 6e 74 65 72 |er is us|ed inter| |00005500| 6e 61 6c 6c 79 20 74 6f | 20 63 6f 6e 74 72 6f 6c |nally to| control| |00005510| 20 77 68 65 74 68 65 72 | 20 6f 72 20 6e 6f 74 20 | whether| or not | |00005520| 74 68 65 20 0a 20 2a 20 | 73 6f 72 74 65 64 20 72 |the . * |sorted r| |00005530| 6f 77 73 20 61 72 65 20 | 69 6e 76 61 6c 69 64 61 |ows are |invalida| |00005540| 74 65 64 2e 20 20 64 6f | 6e 27 74 20 75 73 65 20 |ted. do|n't use | |00005550| 69 74 20 79 6f 75 72 73 | 65 6c 66 2e 0a 20 2a 2f |it yours|elf.. */| |00005560| 0a 54 72 65 65 4f 56 69 | 65 77 52 65 63 6f 72 64 |.TreeOVi|ewRecord| |00005570| 2e 70 72 6f 74 6f 74 79 | 70 65 2e 72 65 73 6f 72 |.prototy|pe.resor| |00005580| 74 20 3d 0a 66 75 6e 63 | 74 69 6f 6e 20 74 6f 76 |t =.func|tion tov| |00005590| 72 5f 72 65 73 6f 72 74 | 20 28 6c 65 61 66 53 6f |r_resort| (leafSo| |000055a0| 72 74 29 0a 7b 0a 20 20 | 20 20 69 66 20 28 21 28 |rt).{. | if (!(| |000055b0| 22 63 68 69 6c 64 44 61 | 74 61 22 20 69 6e 20 74 |"childDa|ta" in t| |000055c0| 68 69 73 29 20 7c 7c 20 | 74 68 69 73 2e 63 68 69 |his) || |this.chi| |000055d0| 6c 64 44 61 74 61 2e 6c | 65 6e 67 74 68 20 3c 20 |ldData.l|ength < | |000055e0| 31 20 7c 7c 0a 20 20 20 | 20 20 20 20 20 28 74 68 |1 ||. | (th| |000055f0| 69 73 2e 63 68 69 6c 64 | 44 61 74 61 5b 30 5d 2e |is.child|Data[0].| |00005600| 73 6f 72 74 43 6f 6d 70 | 61 72 65 20 3d 3d 20 74 |sortComp|are == t| |00005610| 6f 76 72 5f 73 6f 72 74 | 63 6d 70 20 26 26 0a 20 |ovr_sort|cmp &&. | |00005620| 20 20 20 20 20 20 20 20 | 21 28 22 73 6f 72 74 43 | |!("sortC| |00005630| 6f 6c 75 6d 6e 22 20 69 | 6e 20 74 68 69 73 2e 5f |olumn" i|n this._| |00005640| 73 68 61 72 65 29 20 7c | 7c 20 74 68 69 73 2e 5f |share) ||| this._| |00005650| 73 68 61 72 65 2e 73 6f | 72 74 44 69 72 65 63 74 |share.so|rtDirect| |00005660| 69 6f 6e 20 3d 3d 20 30 | 29 29 0a 20 20 20 20 7b |ion == 0|)). {| |00005670| 0a 20 20 20 20 20 20 20 | 20 2f 2a 20 69 66 20 77 |. | /* if w| |00005680| 65 20 68 61 76 65 20 6e | 6f 20 63 68 69 6c 64 72 |e have n|o childr| |00005690| 65 6e 2c 20 6f 72 20 77 | 65 20 68 61 76 65 20 74 |en, or w|e have t| |000056a0| 68 65 20 64 65 66 61 75 | 6c 74 20 73 6f 72 74 20 |he defau|lt sort | |000056b0| 63 6f 6d 70 61 72 65 20 | 61 6e 64 20 6e 6f 0a 20 |compare |and no. | |000056c0| 20 20 20 20 20 20 20 20 | 2a 20 73 6f 72 74 20 66 | |* sort f| |000056d0| 6c 61 67 73 2c 20 74 68 | 65 6e 20 6a 75 73 74 20 |lags, th|en just | |000056e0| 65 78 69 74 20 2a 2f 0a | 20 20 20 20 20 20 20 20 |exit */.| | |000056f0| 72 65 74 75 72 6e 3b 0a | 20 20 20 20 7d 0a 0a 20 |return;.| }.. | |00005700| 20 20 20 74 68 69 73 2e | 63 68 69 6c 64 44 61 74 | this.|childDat| |00005710| 61 2e 73 6f 72 74 28 74 | 68 69 73 2e 63 68 69 6c |a.sort(t|his.chil| |00005720| 64 44 61 74 61 5b 30 5d | 2e 73 6f 72 74 43 6f 6d |dData[0]|.sortCom| |00005730| 70 61 72 65 29 3b 0a 20 | 20 20 20 0a 20 20 20 20 |pare);. | . | |00005740| 66 6f 72 20 28 76 61 72 | 20 69 20 3d 20 30 3b 20 |for (var| i = 0; | |00005750| 69 20 3c 20 74 68 69 73 | 2e 63 68 69 6c 64 44 61 |i < this|.childDa| |00005760| 74 61 2e 6c 65 6e 67 74 | 68 3b 20 2b 2b 69 29 0a |ta.lengt|h; ++i).| |00005770| 20 20 20 20 7b 0a 20 20 | 20 20 20 20 20 20 74 68 | {. | th| |00005780| 69 73 2e 63 68 69 6c 64 | 44 61 74 61 5b 69 5d 2e |is.child|Data[i].| |00005790| 63 68 69 6c 64 49 6e 64 | 65 78 20 3d 20 69 3b 0a |childInd|ex = i;.| |000057a0| 20 20 20 20 20 20 20 20 | 69 66 20 28 22 69 73 43 | |if ("isC| |000057b0| 6f 6e 74 61 69 6e 65 72 | 4f 70 65 6e 22 20 69 6e |ontainer|Open" in| |000057c0| 20 74 68 69 73 2e 63 68 | 69 6c 64 44 61 74 61 5b | this.ch|ildData[| |000057d0| 69 5d 20 26 26 0a 20 20 | 20 20 20 20 20 20 20 20 |i] &&. | | |000057e0| 20 20 74 68 69 73 2e 63 | 68 69 6c 64 44 61 74 61 | this.c|hildData| |000057f0| 5b 69 5d 2e 69 73 43 6f | 6e 74 61 69 6e 65 72 4f |[i].isCo|ntainerO| |00005800| 70 65 6e 29 0a 20 20 20 | 20 20 20 20 20 20 20 20 |pen). | | |00005810| 20 74 68 69 73 2e 63 68 | 69 6c 64 44 61 74 61 5b | this.ch|ildData[| |00005820| 69 5d 2e 72 65 73 6f 72 | 74 28 74 72 75 65 29 3b |i].resor|t(true);| |00005830| 0a 20 20 20 20 20 20 20 | 20 65 6c 73 65 0a 20 20 |. | else. | |00005840| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 63 | | this.c| |00005850| 68 69 6c 64 44 61 74 61 | 5b 69 5d 2e 73 6f 72 74 |hildData|[i].sort| |00005860| 49 73 49 6e 76 61 6c 69 | 64 20 3d 20 74 72 75 65 |IsInvali|d = true| |00005870| 3b 0a 20 20 20 20 7d 0a | 20 20 20 20 0a 20 20 20 |;. }.| . | |00005880| 20 69 66 20 28 21 6c 65 | 61 66 53 6f 72 74 29 0a | if (!le|afSort).| |00005890| 20 20 20 20 7b 0a 20 20 | 20 20 20 20 20 20 74 68 | {. | th| |000058a0| 69 73 2e 69 6e 76 61 6c | 69 64 61 74 65 43 61 63 |is.inval|idateCac| |000058b0| 68 65 28 29 3b 0a 20 20 | 20 20 20 20 20 20 76 61 |he();. | va| |000058c0| 72 20 74 72 65 65 20 3d | 20 74 68 69 73 2e 66 69 |r tree =| this.fi| |000058d0| 6e 64 43 6f 6e 74 61 69 | 6e 65 72 54 72 65 65 28 |ndContai|nerTree(| |000058e0| 29 3b 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 74 |);. | if (t| |000058f0| 72 65 65 20 26 26 20 74 | 72 65 65 2e 74 72 65 65 |ree && t|ree.tree| |00005900| 29 0a 20 20 20 20 20 20 | 20 20 7b 0a 20 20 20 20 |). | {. | |00005910| 20 20 20 20 20 20 20 20 | 76 61 72 20 72 6f 77 49 | |var rowI| |00005920| 6e 64 65 78 20 3d 20 74 | 68 69 73 2e 63 61 6c 63 |ndex = t|his.calc| |00005930| 75 6c 61 74 65 56 69 73 | 75 61 6c 52 6f 77 28 29 |ulateVis|ualRow()| |00005940| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2a |;. | /*| |00005950| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 64 64 20 |. | dd | |00005960| 28 22 69 6e 76 61 6c 69 | 64 61 74 69 6e 67 20 22 |("invali|dating "| |00005970| 20 2b 20 72 6f 77 49 6e | 64 65 78 20 2b 20 22 20 | + rowIn|dex + " | |00005980| 2d 20 22 20 2b 0a 20 20 | 20 20 20 20 20 20 20 20 |- " +. | | |00005990| 20 20 20 20 20 20 28 72 | 6f 77 49 6e 64 65 78 20 | (r|owIndex | |000059a0| 2b 20 74 68 69 73 2e 76 | 69 73 75 61 6c 46 6f 6f |+ this.v|isualFoo| |000059b0| 74 70 72 69 6e 74 20 2d | 20 31 29 29 3b 0a 20 20 |tprint -| 1));. | |000059c0| 20 20 20 20 20 20 20 20 | 20 20 2a 2f 0a 20 20 20 | | */. | |000059d0| 20 20 20 20 20 20 20 20 | 20 74 72 65 65 2e 74 72 | | tree.tr| |000059e0| 65 65 2e 69 6e 76 61 6c | 69 64 61 74 65 52 61 6e |ee.inval|idateRan| |000059f0| 67 65 20 28 72 6f 77 49 | 6e 64 65 78 2c 0a 20 20 |ge (rowI|ndex,. | |00005a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00005a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00005a20| 20 20 20 20 20 72 6f 77 | 49 6e 64 65 78 20 2b 20 | row|Index + | |00005a30| 74 68 69 73 2e 76 69 73 | 75 61 6c 46 6f 6f 74 70 |this.vis|ualFootp| |00005a40| 72 69 6e 74 20 2d 20 31 | 29 3b 0a 20 20 20 20 20 |rint - 1|);. | |00005a50| 20 20 20 7d 0a 20 20 20 | 20 7d 0a 20 20 20 20 2f | }. | }. /| |00005a60| 2a 0a 20 20 20 20 65 6c | 73 65 0a 20 20 20 20 20 |*. el|se. | |00005a70| 20 20 20 64 64 28 22 6e | 6f 74 20 61 20 6c 65 61 | dd("n|ot a lea| |00005a80| 66 53 6f 72 74 22 29 3b | 0a 20 20 20 20 2a 2f 0a |fSort");|. */.| |00005a90| 20 20 20 20 64 65 6c 65 | 74 65 20 74 68 69 73 2e | dele|te this.| |00005aa0| 73 6f 72 74 49 73 49 6e | 76 61 6c 69 64 3b 0a 7d |sortIsIn|valid;.}| |00005ab0| 0a 20 20 20 20 0a 2f 2a | 0a 20 2a 20 63 61 6c 6c |. ./*|. * call| |00005ac0| 20 74 68 69 73 20 74 6f | 20 69 6e 64 69 63 61 74 | this to| indicat| |00005ad0| 65 20 74 68 61 74 20 74 | 68 69 73 20 6e 6f 64 65 |e that t|his node| |00005ae0| 20 6d 61 79 20 68 61 76 | 65 20 63 68 69 6c 64 72 | may hav|e childr| |00005af0| 65 6e 20 61 74 20 6f 6e | 65 20 70 6f 69 6e 74 2e |en at on|e point.| |00005b00| 20 20 6d 61 6b 65 0a 20 | 2a 20 73 75 72 65 20 74 | make. |* sure t| |00005b10| 6f 20 63 61 6c 6c 20 69 | 74 20 62 65 66 6f 72 65 |o call i|t before| |00005b20| 20 61 64 64 69 6e 67 20 | 79 6f 75 72 20 66 69 72 | adding |your fir| |00005b30| 73 74 20 63 68 69 6c 64 | 2e 0a 20 2a 2f 0a 54 72 |st child|.. */.Tr| |00005b40| 65 65 4f 56 69 65 77 52 | 65 63 6f 72 64 2e 70 72 |eeOViewR|ecord.pr| |00005b50| 6f 74 6f 74 79 70 65 2e | 72 65 73 65 72 76 65 43 |ototype.|reserveC| |00005b60| 68 69 6c 64 72 65 6e 20 | 3d 0a 66 75 6e 63 74 69 |hildren |=.functi| |00005b70| 6f 6e 20 74 6f 76 72 5f | 72 6b 69 64 73 20 28 29 |on tovr_|rkids ()| |00005b80| 0a 7b 0a 20 20 20 20 69 | 66 20 28 21 28 22 63 68 |.{. i|f (!("ch| |00005b90| 69 6c 64 44 61 74 61 22 | 20 69 6e 20 74 68 69 73 |ildData"| in this| |00005ba0| 29 29 0a 20 20 20 20 20 | 20 20 20 74 68 69 73 2e |)). | this.| |00005bb0| 63 68 69 6c 64 44 61 74 | 61 20 3d 20 6e 65 77 20 |childDat|a = new | |00005bc0| 41 72 72 61 79 28 29 3b | 0a 20 20 20 20 69 66 20 |Array();|. if | |00005bd0| 28 21 28 22 69 73 43 6f | 6e 74 61 69 6e 65 72 4f |(!("isCo|ntainerO| |00005be0| 70 65 6e 22 20 69 6e 20 | 74 68 69 73 29 29 0a 20 |pen" in |this)). | |00005bf0| 20 20 20 20 20 20 20 74 | 68 69 73 2e 69 73 43 6f | t|his.isCo| |00005c00| 6e 74 61 69 6e 65 72 4f | 70 65 6e 20 3d 20 66 61 |ntainerO|pen = fa| |00005c10| 6c 73 65 3b 0a 7d 0a 0a | 2f 2a 0a 20 2a 20 61 64 |lse;.}..|/*. * ad| |00005c20| 64 20 61 20 63 68 69 6c | 64 20 74 6f 20 74 68 65 |d a chil|d to the| |00005c30| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 63 68 69 6c | end of |the chil| |00005c40| 64 20 6c 69 73 74 20 66 | 6f 72 20 74 68 69 73 20 |d list f|or this | |00005c50| 72 65 63 6f 72 64 2e 20 | 20 74 61 6b 65 73 20 63 |record. | takes c| |00005c60| 61 72 65 20 6f 66 20 0a | 20 2a 20 75 70 64 61 74 |are of .| * updat| |00005c70| 69 6e 67 20 74 68 65 20 | 74 72 65 65 20 61 73 20 |ing the |tree as | |00005c80| 77 65 6c 6c 2e 0a 20 2a | 2f 0a 54 72 65 65 4f 56 |well.. *|/.TreeOV| |00005c90| 69 65 77 52 65 63 6f 72 | 64 2e 70 72 6f 74 6f 74 |iewRecor|d.protot| |00005ca0| 79 70 65 2e 61 70 70 65 | 6e 64 43 68 69 6c 64 20 |ype.appe|ndChild | |00005cb0| 3d 0a 66 75 6e 63 74 69 | 6f 6e 20 74 6f 76 72 5f |=.functi|on tovr_| |00005cc0| 61 70 70 63 68 69 6c 64 | 20 28 63 68 69 6c 64 29 |appchild| (child)| |00005cd0| 0a 7b 0a 20 20 20 20 69 | 66 20 28 21 28 63 68 69 |.{. i|f (!(chi| |00005ce0| 6c 64 20 69 6e 73 74 61 | 6e 63 65 6f 66 20 54 72 |ld insta|nceof Tr| |00005cf0| 65 65 4f 56 69 65 77 52 | 65 63 6f 72 64 29 29 0a |eeOViewR|ecord)).| |00005d00| 20 20 20 20 20 20 20 20 | 74 68 72 6f 77 20 43 6f | |throw Co| |00005d10| 6d 70 6f 6e 65 6e 74 73 | 2e 72 65 73 75 6c 74 73 |mponents|.results| |00005d20| 2e 4e 53 5f 45 52 52 4f | 52 5f 49 4e 56 41 4c 49 |.NS_ERRO|R_INVALI| |00005d30| 44 5f 50 41 52 41 4d 3b | 0a 0a 20 20 20 20 76 61 |D_PARAM;|.. va| |00005d40| 72 20 63 68 61 6e 67 65 | 53 74 61 72 74 20 3d 20 |r change|Start = | |00005d50| 28 74 68 69 73 2e 63 68 | 69 6c 64 44 61 74 61 2e |(this.ch|ildData.| |00005d60| 6c 65 6e 67 74 68 20 3e | 20 30 29 20 3f 0a 20 20 |length >| 0) ?. | |00005d70| 20 20 20 20 20 20 74 68 | 69 73 2e 63 68 69 6c 64 | th|is.child| |00005d80| 44 61 74 61 5b 74 68 69 | 73 2e 63 68 69 6c 64 44 |Data[thi|s.childD| |00005d90| 61 74 61 2e 6c 65 6e 67 | 74 68 20 2d 20 31 5d 2e |ata.leng|th - 1].| |00005da0| 63 61 6c 63 75 6c 61 74 | 65 56 69 73 75 61 6c 52 |calculat|eVisualR| |00005db0| 6f 77 28 29 20 3a 0a 20 | 20 20 20 20 20 20 20 74 |ow() :. | t| |00005dc0| 68 69 73 2e 63 61 6c 63 | 75 6c 61 74 65 56 69 73 |his.calc|ulateVis| |00005dd0| 75 61 6c 52 6f 77 28 29 | 3b 0a 20 20 20 20 0a 20 |ualRow()|;. . | |00005de0| 20 20 20 63 68 69 6c 64 | 2e 69 73 48 69 64 64 65 | child|.isHidde| |00005df0| 6e 20 3d 20 66 61 6c 73 | 65 3b 0a 20 20 20 20 63 |n = fals|e;. c| |00005e00| 68 69 6c 64 2e 70 61 72 | 65 6e 74 52 65 63 6f 72 |hild.par|entRecor| |00005e10| 64 20 3d 20 74 68 69 73 | 3b 0a 20 20 20 20 63 68 |d = this|;. ch| |00005e20| 69 6c 64 2e 63 68 69 6c | 64 49 6e 64 65 78 20 3d |ild.chil|dIndex =| |00005e30| 20 74 68 69 73 2e 63 68 | 69 6c 64 44 61 74 61 2e | this.ch|ildData.| |00005e40| 6c 65 6e 67 74 68 3b 0a | 20 20 20 20 74 68 69 73 |length;.| this| |00005e50| 2e 63 68 69 6c 64 44 61 | 74 61 2e 70 75 73 68 28 |.childDa|ta.push(| |00005e60| 63 68 69 6c 64 29 3b 0a | 20 20 20 20 0a 20 20 20 |child);.| . | |00005e70| 20 69 66 20 28 22 69 73 | 43 6f 6e 74 61 69 6e 65 | if ("is|Containe| |00005e80| 72 4f 70 65 6e 22 20 69 | 6e 20 74 68 69 73 20 26 |rOpen" i|n this &| |00005e90| 26 20 74 68 69 73 2e 69 | 73 43 6f 6e 74 61 69 6e |& this.i|sContain| |00005ea0| 65 72 4f 70 65 6e 29 0a | 20 20 20 20 7b 0a 20 20 |erOpen).| {. | |00005eb0| 20 20 20 20 20 20 69 66 | 20 28 74 68 69 73 2e 63 | if| (this.c| |00005ec0| 61 6c 63 75 6c 61 74 65 | 56 69 73 75 61 6c 52 6f |alculate|VisualRo| |00005ed0| 77 28 29 20 3e 3d 20 30 | 29 0a 20 20 20 20 20 20 |w() >= 0|). | |00005ee0| 20 20 7b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | {. | | |00005ef0| 74 68 69 73 2e 72 65 73 | 6f 72 74 28 74 72 75 65 |this.res|ort(true| |00005f00| 29 3b 20 20 2f 2a 20 72 | 65 73 6f 72 74 2c 20 64 |); /* r|esort, d| |00005f10| 6f 6e 27 74 20 69 6e 76 | 61 6c 69 64 61 74 65 2e |on't inv|alidate.| |00005f20| 20 20 77 65 27 72 65 20 | 67 6f 69 6e 67 20 74 6f | we're |going to| |00005f30| 20 64 6f 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | do. | | |00005f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00005f50| 20 20 20 20 20 2a 20 74 | 68 61 74 20 69 6e 20 74 | * t|hat in t| |00005f60| 68 65 20 6f 6e 56 69 73 | 75 61 6c 46 6f 6f 74 70 |he onVis|ualFootp| |00005f70| 72 69 6e 74 43 68 61 6e | 67 65 64 20 63 61 6c 6c |rintChan|ged call| |00005f80| 2e 20 2a 2f 0a 20 20 20 | 20 20 20 20 20 7d 0a 20 |. */. | }. | |00005f90| 20 20 20 20 20 20 20 74 | 68 69 73 2e 6f 6e 56 69 | t|his.onVi| |00005fa0| 73 75 61 6c 46 6f 6f 74 | 70 72 69 6e 74 43 68 61 |sualFoot|printCha| |00005fb0| 6e 67 65 64 28 63 68 61 | 6e 67 65 53 74 61 72 74 |nged(cha|ngeStart| |00005fc0| 2c 20 63 68 69 6c 64 2e | 76 69 73 75 61 6c 46 6f |, child.|visualFo| |00005fd0| 6f 74 70 72 69 6e 74 29 | 3b 0a 20 20 20 20 7d 0a |otprint)|;. }.| |00005fe0| 7d 0a 0a 2f 2a 0a 20 2a | 20 61 64 64 20 61 20 6c |}../*. *| add a l| |00005ff0| 69 73 74 20 6f 66 20 63 | 68 69 6c 64 72 65 6e 20 |ist of c|hildren | |00006000| 74 6f 20 74 68 65 20 65 | 6e 64 20 6f 66 20 74 68 |to the e|nd of th| |00006010| 65 20 63 68 69 6c 64 20 | 6c 69 73 74 20 66 6f 72 |e child |list for| |00006020| 20 74 68 69 73 20 72 65 | 63 6f 72 64 2e 0a 20 2a | this re|cord.. *| |00006030| 20 66 61 73 74 65 72 20 | 74 68 61 6e 20 6d 75 6c | faster |than mul| |00006040| 74 69 70 6c 65 20 61 70 | 70 65 6e 64 43 68 69 6c |tiple ap|pendChil| |00006050| 64 28 29 20 63 61 6c 6c | 73 2e 0a 20 2a 2f 0a 54 |d() call|s.. */.T| |00006060| 72 65 65 4f 56 69 65 77 | 52 65 63 6f 72 64 2e 70 |reeOView|Record.p| |00006070| 72 6f 74 6f 74 79 70 65 | 2e 61 70 70 65 6e 64 43 |rototype|.appendC| |00006080| 68 69 6c 64 72 65 6e 20 | 3d 0a 66 75 6e 63 74 69 |hildren |=.functi| |00006090| 6f 6e 20 74 6f 76 72 5f | 61 70 70 63 68 69 6c 64 |on tovr_|appchild| |000060a0| 20 28 63 68 69 6c 64 72 | 65 6e 2c 20 73 6b 69 70 | (childr|en, skip| |000060b0| 52 65 73 6f 72 74 29 0a | 7b 0a 20 20 20 20 76 61 |Resort).|{. va| |000060c0| 72 20 63 68 61 6e 67 65 | 53 74 61 72 74 20 3d 20 |r change|Start = | |000060d0| 28 74 68 69 73 2e 63 68 | 69 6c 64 44 61 74 61 2e |(this.ch|ildData.| |000060e0| 6c 65 6e 67 74 68 20 3e | 20 30 29 20 3f 0a 20 20 |length >| 0) ?. | |000060f0| 20 20 20 20 20 20 74 68 | 69 73 2e 63 68 69 6c 64 | th|is.child| |00006100| 44 61 74 61 5b 74 68 69 | 73 2e 63 68 69 6c 64 44 |Data[thi|s.childD| |00006110| 61 74 61 2e 6c 65 6e 67 | 74 68 20 2d 20 31 5d 2e |ata.leng|th - 1].| |00006120| 63 61 6c 63 75 6c 61 74 | 65 56 69 73 75 61 6c 52 |calculat|eVisualR| |00006130| 6f 77 28 29 20 3a 0a 20 | 20 20 20 20 20 20 20 74 |ow() :. | t| |00006140| 68 69 73 2e 63 61 6c 63 | 75 6c 61 74 65 56 69 73 |his.calc|ulateVis| |00006150| 75 61 6c 52 6f 77 28 29 | 3b 0a 0a 20 20 20 20 76 |ualRow()|;.. v| |00006160| 61 72 20 73 74 61 72 74 | 20 3d 20 74 68 69 73 2e |ar start| = this.| |00006170| 63 68 69 6c 64 44 61 74 | 61 2e 6c 65 6e 67 74 68 |childDat|a.length| |00006180| 3b 0a 20 20 20 20 76 61 | 72 20 64 65 6c 74 61 20 |;. va|r delta | |00006190| 3d 20 30 3b 0a 20 20 20 | 20 76 61 72 20 6c 65 6e |= 0;. | var len| |000061a0| 20 3d 20 63 68 69 6c 64 | 72 65 6e 2e 6c 65 6e 67 | = child|ren.leng| |000061b0| 74 68 3b 0a 0a 20 20 20 | 20 66 6f 72 20 28 76 61 |th;.. | for (va| |000061c0| 72 20 69 20 3d 20 30 3b | 20 69 20 3c 20 20 6c 65 |r i = 0;| i < le| |000061d0| 6e 3b 20 2b 2b 69 29 0a | 20 20 20 20 7b 0a 20 20 |n; ++i).| {. | |000061e0| 20 20 20 20 20 20 76 61 | 72 20 63 68 69 6c 64 20 | va|r child | |000061f0| 3d 20 63 68 69 6c 64 72 | 65 6e 5b 69 5d 3b 0a 20 |= childr|en[i];. | |00006200| 20 20 20 20 20 20 20 63 | 68 69 6c 64 2e 69 73 48 | c|hild.isH| |00006210| 69 64 64 65 6e 20 3d 20 | 66 61 6c 73 65 3b 0a 20 |idden = |false;. | |00006220| 20 20 20 20 20 20 20 63 | 68 69 6c 64 2e 70 61 72 | c|hild.par| |00006230| 65 6e 74 52 65 63 6f 72 | 64 20 3d 20 74 68 69 73 |entRecor|d = this| |00006240| 3b 0a 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 63 |;. | this.c| |00006250| 68 69 6c 64 44 61 74 61 | 5b 73 74 61 72 74 20 2b |hildData|[start +| |00006260| 20 69 5d 20 3d 20 63 68 | 69 6c 64 3b 0a 20 20 20 | i] = ch|ild;. | |00006270| 20 20 20 20 20 63 68 69 | 6c 64 2e 63 68 69 6c 64 | chi|ld.child| |00006280| 49 6e 64 65 78 20 3d 20 | 69 3b 0a 20 20 20 20 20 |Index = |i;. | |00006290| 20 20 20 64 65 6c 74 61 | 20 2b 3d 20 63 68 69 6c | delta| += chil| |000062a0| 64 2e 76 69 73 75 61 6c | 46 6f 6f 74 70 72 69 6e |d.visual|Footprin| |000062b0| 74 3b 0a 20 20 20 20 7d | 0a 20 20 20 20 0a 20 20 |t;. }|. . | |000062c0| 20 20 69 66 20 28 22 69 | 73 43 6f 6e 74 61 69 6e | if ("i|sContain| |000062d0| 65 72 4f 70 65 6e 22 20 | 69 6e 20 74 68 69 73 20 |erOpen" |in this | |000062e0| 26 26 20 74 68 69 73 2e | 69 73 43 6f 6e 74 61 69 |&& this.|isContai| |000062f0| 6e 65 72 4f 70 65 6e 29 | 0a 20 20 20 20 7b 0a 20 |nerOpen)|. {. | |00006300| 20 20 20 20 20 20 20 69 | 66 20 28 21 73 6b 69 70 | i|f (!skip| |00006310| 52 65 73 6f 72 74 20 26 | 26 20 74 68 69 73 2e 63 |Resort &|& this.c| |00006320| 61 6c 63 75 6c 61 74 65 | 56 69 73 75 61 6c 52 6f |alculate|VisualRo| |00006330| 77 28 29 20 3e 3d 20 30 | 29 0a 20 20 20 20 20 20 |w() >= 0|). | |00006340| 20 20 7b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | {. | | |00006350| 74 68 69 73 2e 72 65 73 | 6f 72 74 28 74 72 75 65 |this.res|ort(true| |00006360| 29 3b 20 20 2f 2a 20 72 | 65 73 6f 72 74 2c 20 64 |); /* r|esort, d| |00006370| 6f 6e 27 74 20 69 6e 76 | 61 6c 69 64 61 74 65 2e |on't inv|alidate.| |00006380| 20 20 77 65 27 72 65 20 | 67 6f 69 6e 67 20 74 6f | we're |going to| |00006390| 20 64 6f 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | do. | | |000063a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000063b0| 20 20 20 20 20 2a 20 74 | 68 61 74 20 69 6e 20 74 | * t|hat in t| |000063c0| 68 65 20 6f 6e 56 69 73 | 75 61 6c 46 6f 6f 74 70 |he onVis|ualFootp| |000063d0| 72 69 6e 74 43 68 61 6e | 67 65 64 20 63 61 6c 6c |rintChan|ged call| |000063e0| 2e 20 2a 2f 0a 20 20 20 | 20 20 20 20 20 7d 0a 20 |. */. | }. | |000063f0| 20 20 20 20 20 20 20 74 | 68 69 73 2e 6f 6e 56 69 | t|his.onVi| +--------+-------------------------+-------------------------+--------+--------+ Only 25.0 KB of data is shown above.